aboutsummaryrefslogtreecommitdiffstats
path: root/testing/apparmor/0008-Add-missing-include-for-ppc64le.patch
diff options
context:
space:
mode:
authorRoberto Oliveira <robertoguimaraes8@gmail.com>2017-06-16 15:42:02 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2017-06-16 16:06:34 +0000
commit74b8427cc21f04e32030d047ae92caa618105b53 (patch)
tree89cfe58e22311334c9b4b24411e72d567295d4c4 /testing/apparmor/0008-Add-missing-include-for-ppc64le.patch
parentbec0d4416deb2e4932ce35842b3ed745e74a0248 (diff)
downloadaports-74b8427cc21f04e32030d047ae92caa618105b53.tar.bz2
aports-74b8427cc21f04e32030d047ae92caa618105b53.tar.xz
testing/apparmor: fix build on ppc64le
Add missing include for limits.h, that was not been included for ppc64le. Also fixed a typo in project url.
Diffstat (limited to 'testing/apparmor/0008-Add-missing-include-for-ppc64le.patch')
-rw-r--r--testing/apparmor/0008-Add-missing-include-for-ppc64le.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/apparmor/0008-Add-missing-include-for-ppc64le.patch b/testing/apparmor/0008-Add-missing-include-for-ppc64le.patch
new file mode 100644
index 0000000000..9e1955b66b
--- /dev/null
+++ b/testing/apparmor/0008-Add-missing-include-for-ppc64le.patch
@@ -0,0 +1,12 @@
+--- apparmor-2.11.0/parser/parser_include.c
++++ apparmor-2.11.0/parser/parser_include.c
+@@ -45,6 +45,9 @@
+ #include <unistd.h>
+ #include <errno.h>
+ #include <dirent.h>
++#ifdef __powerpc64__
++#include <limits.h>
++#endif
+
+ #include "lib.h"
+ #include "parser.h"