aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Janda <felix.janda@posteo.de>2017-12-29 23:06:20 +0100
committerFelix Janda <felix.janda@posteo.de>2017-12-29 23:06:20 +0100
commit071af4a636f04d9cb428f618d98f0113e71fad67 (patch)
tree7280e939337b05eb8263e2c70982a95e9d7c5d67 /sys-process/audit
parentsys-kernel/linux-headers: fix Manifest (diff)
downloadmusl-071af4a636f04d9cb428f618d98f0113e71fad67.tar.gz
musl-071af4a636f04d9cb428f618d98f0113e71fad67.tar.bz2
musl-071af4a636f04d9cb428f618d98f0113e71fad67.zip
sys-process/audit: fix compilation of swig bindings
Bug: https://bugs.gentoo.org/620006
Diffstat (limited to 'sys-process/audit')
-rw-r--r--sys-process/audit/audit-2.6.4.ebuild1
-rw-r--r--sys-process/audit/audit-2.7.1.ebuild1
-rw-r--r--sys-process/audit/files/audit-2.7.1-swig.patch11
3 files changed, 13 insertions, 0 deletions
diff --git a/sys-process/audit/audit-2.6.4.ebuild b/sys-process/audit/audit-2.6.4.ebuild
index d4ecbd3..3f6adbb 100644
--- a/sys-process/audit/audit-2.6.4.ebuild
+++ b/sys-process/audit/audit-2.6.4.ebuild
@@ -36,6 +36,7 @@ pkg_setup() {
src_prepare() {
eapply "${FILESDIR}/${PN}-2.7.1-musl.patch"
+ eapply "${FILESDIR}/${PN}-2.7.1-swig.patch"
eapply_user
# Do not build GUI tools
diff --git a/sys-process/audit/audit-2.7.1.ebuild b/sys-process/audit/audit-2.7.1.ebuild
index 3886ae6..75676b0 100644
--- a/sys-process/audit/audit-2.7.1.ebuild
+++ b/sys-process/audit/audit-2.7.1.ebuild
@@ -36,6 +36,7 @@ pkg_setup() {
src_prepare() {
eapply "${FILESDIR}/${P}-musl.patch"
+ eapply "${FILESDIR}/${P}-swig.patch"
eapply_user
# Do not build GUI tools
diff --git a/sys-process/audit/files/audit-2.7.1-swig.patch b/sys-process/audit/files/audit-2.7.1-swig.patch
new file mode 100644
index 0000000..f76b9b0
--- /dev/null
+++ b/sys-process/audit/files/audit-2.7.1-swig.patch
@@ -0,0 +1,11 @@
+diff --git a/bindings/swig/src/auditswig.i b/bindings/swig/src/auditswig.i
+index 356a5ab..41bdc6d 100644
+--- a/bindings/swig/src/auditswig.i
++++ b/bindings/swig/src/auditswig.i
+@@ -41,6 +41,5 @@ typedef unsigned __u32;
+ typedef unsigned uid_t;
+ %include "/usr/include/linux/audit.h"
+ #define __extension__ /*nothing*/
+-%include "/usr/include/stdint.h"
+ %include "../lib/libaudit.h"
+