From: Thomas Petazzoni Date: Thu, 5 Apr 2018 21:50:34 +0200 Subject: [Buildroot] [PATCH 20/23] libsepol: remove Blackfin patch In-Reply-To: <20180405195037.32641-1-thomas.petazzoni@bootlin.com> References: <20180405195037.32641-1-thomas.petazzoni@bootlin.com> Message-ID: <20180405195037.32641-21-thomas.petazzoni@bootlin.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net And renumber remaining patches. Signed-off-by: Thomas Petazzoni --- ...c-only.patch => 0002-support-static-only.patch} | 0 .../libsepol/0002-workaround-blackfin-issue.patch | 26 ---------------------- ...elative.patch => 0003-revert-ln-relative.patch} | 0 3 files changed, 26 deletions(-) rename package/libsepol/{0003-support-static-only.patch => 0002-support-static-only.patch} (100%) delete mode 100644 package/libsepol/0002-workaround-blackfin-issue.patch rename package/libsepol/{0004-revert-ln-relative.patch => 0003-revert-ln-relative.patch} (100%) diff --git a/package/libsepol/0003-support-static-only.patch b/package/libsepol/0002-support-static-only.patch similarity index 100% rename from package/libsepol/0003-support-static-only.patch rename to package/libsepol/0002-support-static-only.patch diff --git a/package/libsepol/0002-workaround-blackfin-issue.patch b/package/libsepol/0002-workaround-blackfin-issue.patch deleted file mode 100644 index 3c3bd4827f..0000000000 --- a/package/libsepol/0002-workaround-blackfin-issue.patch +++ /dev/null @@ -1,26 +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 -Signed-off-by: Adam Duskett - -Index: b/src/dso.h -=================================================================== ---- a/src/dso.h -+++ b/src/dso.h -@@ -5,7 +5,7 @@ - #define DISABLE_SYMVER 1 - #endif - --#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/libsepol/0004-revert-ln-relative.patch b/package/libsepol/0003-revert-ln-relative.patch similarity index 100% rename from package/libsepol/0004-revert-ln-relative.patch rename to package/libsepol/0003-revert-ln-relative.patch -- 2.14.3