summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-04-05 21:50:31 +0200
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-04-15 22:05:38 +0200
commit1b31b50ef4088deeee07574e0c19de7fc207a132 (patch)
treebde6ed5665a756bac0b1483213150d825878df80
parentab6d421c58ed9aac610f5d246946c66cd3f2c08d (diff)
downloadbuildroot-1b31b50ef4088deeee07574e0c19de7fc207a132.tar.gz
buildroot-1b31b50ef4088deeee07574e0c19de7fc207a132.zip
libselinux: remove Blackfin patch
And renumber the remaining patches. Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
-rw-r--r--package/libselinux/0001-fix-musl-build.patch (renamed from package/libselinux/0002-fix-musl-build.patch)0
-rw-r--r--package/libselinux/0001-workaround-blackfin-issue.patch24
-rw-r--r--package/libselinux/0002-libselinux-build-follow-standard-semantics-for-DESTD.patch (renamed from package/libselinux/0003-libselinux-build-follow-standard-semantics-for-DESTD.patch)0
-rw-r--r--package/libselinux/0003-revert-ln-relative.patch (renamed from package/libselinux/0004-revert-ln-relative.patch)0
4 files changed, 0 insertions, 24 deletions
diff --git a/package/libselinux/0002-fix-musl-build.patch b/package/libselinux/0001-fix-musl-build.patch
index 7af3a3c36f..7af3a3c36f 100644
--- a/package/libselinux/0002-fix-musl-build.patch
+++ b/package/libselinux/0001-fix-musl-build.patch
diff --git a/package/libselinux/0001-workaround-blackfin-issue.patch b/package/libselinux/0001-workaround-blackfin-issue.patch
deleted file mode 100644
index 5d00c6983b..0000000000
--- a/package/libselinux/0001-workaround-blackfin-issue.patch
+++ /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) \
diff --git a/package/libselinux/0003-libselinux-build-follow-standard-semantics-for-DESTD.patch b/package/libselinux/0002-libselinux-build-follow-standard-semantics-for-DESTD.patch
index 089eef414e..089eef414e 100644
--- a/package/libselinux/0003-libselinux-build-follow-standard-semantics-for-DESTD.patch
+++ b/package/libselinux/0002-libselinux-build-follow-standard-semantics-for-DESTD.patch
diff --git a/package/libselinux/0004-revert-ln-relative.patch b/package/libselinux/0003-revert-ln-relative.patch
index f72afa1b0a..f72afa1b0a 100644
--- a/package/libselinux/0004-revert-ln-relative.patch
+++ b/package/libselinux/0003-revert-ln-relative.patch
OpenPOWER on IntegriCloud