diff options
author | Thomas Petazzoni <thomas.petazzoni@bootlin.com> | 2018-04-05 21:50:34 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@bootlin.com> | 2018-04-15 22:05:42 +0200 |
commit | 31e5b10ea895eb1260388833dbfec7dd549996c2 (patch) | |
tree | e766a8ba67b809038ffea698125bc80ee1b346bf /package/libsepol/0003-revert-ln-relative.patch | |
parent | 5d18727bdcccc05a013bc35a8c413df4e1c2797e (diff) | |
download | buildroot-31e5b10ea895eb1260388833dbfec7dd549996c2.tar.gz buildroot-31e5b10ea895eb1260388833dbfec7dd549996c2.zip |
libsepol: remove Blackfin patch
And renumber remaining patches.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/libsepol/0003-revert-ln-relative.patch')
-rw-r--r-- | package/libsepol/0003-revert-ln-relative.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/package/libsepol/0003-revert-ln-relative.patch b/package/libsepol/0003-revert-ln-relative.patch new file mode 100644 index 0000000000..9d1553ed97 --- /dev/null +++ b/package/libsepol/0003-revert-ln-relative.patch @@ -0,0 +1,27 @@ +From 16b2b0e21e10727065042a1baabd1a887757c65c Mon Sep 17 00:00:00 2001 +From: Adam Duskett <Adamduskett@outlook.com> +Date: Mon, 9 Oct 2017 16:29:36 -0400 +Subject: [PATCH] Makefile: revert libsepol: 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 libsepol-2.7.orig/src/Makefile libsepol-2.7/src/Makefile +--- libsepol-2.7.orig/src/Makefile 2018-01-15 21:37:12.821831315 +0100 ++++ libsepol-2.7/src/Makefile 2018-01-15 21:38:03.838497434 +0100 +@@ -92,7 +92,7 @@ + endif + 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) + + relabel: + /sbin/restorecon $(LIBINSTALL)/$(LIBSO) |