kumquat-buildroot/package/libsemanage/0001-workaround-blackfin-issue.patch
Adam Duskett d6d6a9d2b3 libsemanage: bump to version 2.5
The 0001-execption-lib-path-fix.patch is also no longer needed, as the
new version of libsemanage includes the fix provided by the patch.
As such, the patch was removed, and 0002 was renamed to 0001.

Audit was added as a dependency as the new version of libsemanage
will fail to compile searching for audit.h

Signed-off-by: Adam Duskett <Aduskett@gmail.com>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[Thomas: add the select on audit + propagate the dependencies.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2016-07-01 11:06:23 +02:00

26 lines
944 B
Diff

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>
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 _SEPOL_DSO_H
#define _SEPOL_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) \