diff options
author | Thomas Petazzoni <thomas.petazzoni@bootlin.com> | 2018-04-05 21:50:31 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@bootlin.com> | 2018-04-15 22:05:38 +0200 |
commit | 1b31b50ef4088deeee07574e0c19de7fc207a132 (patch) | |
tree | bde6ed5665a756bac0b1483213150d825878df80 /package/libselinux/0003-revert-ln-relative.patch | |
parent | ab6d421c58ed9aac610f5d246946c66cd3f2c08d (diff) | |
download | buildroot-1b31b50ef4088deeee07574e0c19de7fc207a132.tar.gz buildroot-1b31b50ef4088deeee07574e0c19de7fc207a132.zip |
libselinux: remove Blackfin patch
And renumber the remaining patches.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/libselinux/0003-revert-ln-relative.patch')
-rw-r--r-- | package/libselinux/0003-revert-ln-relative.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/package/libselinux/0003-revert-ln-relative.patch b/package/libselinux/0003-revert-ln-relative.patch new file mode 100644 index 0000000000..f72afa1b0a --- /dev/null +++ b/package/libselinux/0003-revert-ln-relative.patch @@ -0,0 +1,24 @@ +Makefile: revert libselinux: use ln --relative to create .so symlinks + +This reverts 71393a181d63c9baae5fe8dcaeb9411d1f253998 + +ln --relative is too recent to be available in all distributions, +especially enterprise-grade distros that can stick around as long as +they are maintained (up to 10 years in some cases?). + +For the sake of Buildroot, revert the upstream patch. + +Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> + +diff -durNw libselinux-2.7.orig/src/Makefile libselinux-2.7/src/Makefile +--- libselinux-2.7.orig/src/Makefile 2018-01-15 20:53:50.168525700 +0100 ++++ libselinux-2.7/src/Makefile 2018-01-15 20:55:27.061858005 +0100 +@@ -181,7 +181,7 @@ + install -m 755 $(LIBSO) $(LIBINSTALL) + test -d $(LIBINSTALL)/pkgconfig || install -m 755 -d $(LIBINSTALL)/pkgconfig + install -m 644 $(LIBPC) $(LIBINSTALL)/pkgconfig +- ln -sf --relative $(LIBINSTALL)/$(LIBSO) $(LIBINSTALL)/$(TARGET) ++ cd $(LIBINSTALL) && ln -sf $(LIBSO) $(TARGET) + + install-pywrap: pywrap + test -d $(PYSITEDIR)/selinux || install -m 755 -d $(PYSITEDIR)/selinux |