summaryrefslogtreecommitdiffstats
path: root/package/libsepol/0002-workaround-blackfin-issue.patch
diff options
context:
space:
mode:
authorAdam Duskett <Aduskett@gmail.com>2016-06-26 18:39:12 -0400
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2016-07-01 11:06:37 +0200
commita3ebe45dcb3ef19e48e99b5a51829ed901a29f08 (patch)
treedd53bb399afee53c32ffc162259186621c06ec1c /package/libsepol/0002-workaround-blackfin-issue.patch
parentd6b803f84674c56324358096b3052cafe7286c09 (diff)
downloadbuildroot-a3ebe45dcb3ef19e48e99b5a51829ed901a29f08.tar.gz
buildroot-a3ebe45dcb3ef19e48e99b5a51829ed901a29f08.zip
libsepol: bump to version 2.5
An additional patch is needed to fix the build with uClibc. Signed-off-by: Adam Duskett <Aduskett@gmail.com> [Thomas: add patch to fix build with uClibc.] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/libsepol/0002-workaround-blackfin-issue.patch')
-rw-r--r--package/libsepol/0002-workaround-blackfin-issue.patch8
1 files changed, 5 insertions, 3 deletions
diff --git a/package/libsepol/0002-workaround-blackfin-issue.patch b/package/libsepol/0002-workaround-blackfin-issue.patch
index 5d00c6983b..3c3bd4827f 100644
--- a/package/libsepol/0002-workaround-blackfin-issue.patch
+++ b/package/libsepol/0002-workaround-blackfin-issue.patch
@@ -8,17 +8,19 @@ 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>
+Signed-off-by: Adam Duskett <Aduskett@gmail.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
+@@ -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) \
+
OpenPOWER on IntegriCloud