]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
libselinux: remove Blackfin patch
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 5 Apr 2018 19:50:31 +0000 (21:50 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 15 Apr 2018 20:05:38 +0000 (22:05 +0200)
And renumber the remaining patches.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/libselinux/0001-fix-musl-build.patch [moved from package/libselinux/0002-fix-musl-build.patch with 100% similarity]
package/libselinux/0001-workaround-blackfin-issue.patch [deleted file]
package/libselinux/0002-libselinux-build-follow-standard-semantics-for-DESTD.patch [moved from package/libselinux/0003-libselinux-build-follow-standard-semantics-for-DESTD.patch with 100% similarity]
package/libselinux/0003-revert-ln-relative.patch [moved from package/libselinux/0004-revert-ln-relative.patch with 100% similarity]

diff --git a/package/libselinux/0001-workaround-blackfin-issue.patch b/package/libselinux/0001-workaround-blackfin-issue.patch
deleted file mode 100644 (file)
index 5d00c69..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-Do not make symbols hidden on Blackfin
-
-The libselinux logic to hide internal symbols from the DSO doesn't
-work properly on Blackfin due to the USER_LABEL_PREFIX not being
-handled properly. A real fix is not that simple, so this patch simply
-disables the internal symbol hiding mechanism. This means that those
-symbols are visible in the final DSO, which is not a problem for
-proper execution, it just isn't as clean.
-
-Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-
-Index: b/src/dso.h
-===================================================================
---- a/src/dso.h
-+++ b/src/dso.h
-@@ -1,7 +1,7 @@
- #ifndef _SELINUX_DSO_H
- #define _SELINUX_DSO_H        1
--#ifdef SHARED
-+#if defined(SHARED) && !defined(__bfin__)
- # define hidden __attribute__ ((visibility ("hidden")))
- # define hidden_proto(fct) __hidden_proto (fct, fct##_internal)
- # define __hidden_proto(fct, internal)        \