aboutsummaryrefslogtreecommitdiffstats
path: root/testing/apparmor/0003-Link-against-gettext-library.patch
diff options
context:
space:
mode:
authorallgdante <allan.garret@gmail.com>2018-01-26 11:09:38 +0100
committerNatanael Copa <ncopa@alpinelinux.org>2018-03-13 15:33:55 +0000
commitad8994e692705cfffed1c2ec14070b7b6ce85de9 (patch)
treeff3d65b3bd20a240e4c370239e3b9a86afcdf96c /testing/apparmor/0003-Link-against-gettext-library.patch
parenteec0dec579994a499def4c1ab349672b8404b80b (diff)
downloadaports-ad8994e692705cfffed1c2ec14070b7b6ce85de9.tar.gz
aports-ad8994e692705cfffed1c2ec14070b7b6ce85de9.tar.bz2
aports-ad8994e692705cfffed1c2ec14070b7b6ce85de9.tar.xz
testing/apparmor: upgrade to 2.12
Diffstat (limited to 'testing/apparmor/0003-Link-against-gettext-library.patch')
-rw-r--r--testing/apparmor/0003-Link-against-gettext-library.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/apparmor/0003-Link-against-gettext-library.patch b/testing/apparmor/0003-Link-against-gettext-library.patch
new file mode 100644
index 0000000000..bab5374fba
--- /dev/null
+++ b/testing/apparmor/0003-Link-against-gettext-library.patch
@@ -0,0 +1,29 @@
+diff --git a/binutils/Makefile b/binutils/Makefile
+index 7fb71813..52e55f70 100644
+--- a/binutils/Makefile
++++ b/binutils/Makefile
+@@ -52,7 +52,7 @@ SRCS = aa_enabled.c
+ HDRS =
+ TOOLS = aa-enabled aa-exec
+
+-AALIB = -Wl,-Bstatic -lapparmor -Wl,-Bdynamic -lpthread
++AALIB = -Wl,-Bstatic -lapparmor -Wl,-Bdynamic -lpthread -lintl
+
+ ifdef USE_SYSTEM
+ # Using the system libapparmor so Makefile dependencies can't be used
+diff --git a/parser/Makefile b/parser/Makefile
+index 4d370c36..0eca5702 100644
+--- a/parser/Makefile
++++ b/parser/Makefile
+@@ -87,7 +87,7 @@ AAREDIR= libapparmor_re
+ AAREOBJECT = ${AAREDIR}/libapparmor_re.a
+ AAREOBJECTS = $(AAREOBJECT)
+ AARE_LDFLAGS = -static-libgcc -static-libstdc++ -L. $(LDFLAGS)
+-AALIB = -Wl,-Bstatic -lapparmor -Wl,-Bdynamic -lpthread
++AALIB = -Wl,-Bstatic -lapparmor -Wl,-Bdynamic -lpthread -lintl
+
+ ifdef USE_SYSTEM
+ # Using the system libapparmor so Makefile dependencies can't be used
+--
+2.16.1
+