diff options
author | Adam Duskett <Aduskett@gmail.com> | 2017-01-09 11:15:22 -0500 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-01-25 23:25:26 +1300 |
commit | a26fc91cec57f34d4c6419f7e8281ae246fd80dd (patch) | |
tree | 76a33377171a35c7e8713b40e10d449bf8b6af82 /package/libsepol/0003-revert-ln-relative.patch | |
parent | 0c61c4cd317bed43478415c3f3cd74ba1ec31f8e (diff) | |
download | buildroot-a26fc91cec57f34d4c6419f7e8281ae246fd80dd.tar.gz buildroot-a26fc91cec57f34d4c6419f7e8281ae246fd80dd.zip |
libsepol: bump version to 2.6
Also removed patch 0003-add-stdarg-include.patch as this has been
committed to upstream.
Signed-off-by: Adam Duskett <aduskett@codeblue.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/libsepol/0003-revert-ln-relative.patch')
-rw-r--r-- | package/libsepol/0003-revert-ln-relative.patch | 24 |
1 files changed, 24 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..0902d8d40e --- /dev/null +++ b/package/libsepol/0003-revert-ln-relative.patch @@ -0,0 +1,24 @@ +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 -durN a/src/Makefile b/src/Makefile +--- a/src/Makefile ++++ b/src/Makefile +@@ -77,7 +77,7 @@ + ifeq ($(STATIC),) + test -d $(SHLIBDIR) || install -m 755 -d $(SHLIBDIR) + install -m 755 $(LIBSO) $(SHLIBDIR) +- ln -sf --relative $(SHLIBDIR)/$(LIBSO) $(LIBDIR)/$(TARGET) ++ cd $(LIBDIR) && ln -sf ../../`basename $(SHLIBDIR)`/$(LIBSO) $(TARGET) + endif + + relabel: |