@@ -1,4 +1,4 @@
-From 5cdc667aeb7a014cdc1f8c7df8f8080408773dbe Mon Sep 17 00:00:00 2001
+From 4f78fcb8728cd4bf31175b3fa610a5c003e915d1 Mon Sep 17 00:00:00 2001
From: Li xin <lixin.fnst@cn.fujitsu.com>
Date: Sun, 19 Jul 2015 02:42:58 +0900
Subject: [PATCH] Fixed swig host contamination issue
@@ -19,7 +19,7 @@ Signed-off-by: Yi Zhao <yi.zhao@windriver.com>
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/bindings/swig/python3/Makefile.am b/bindings/swig/python3/Makefile.am
-index c2c6def4..bcc2836c 100644
+index 428e40fa..f4dd45bc 100644
--- a/bindings/swig/python3/Makefile.am
+++ b/bindings/swig/python3/Makefile.am
@@ -23,6 +23,7 @@
@@ -30,7 +30,7 @@ index c2c6def4..bcc2836c 100644
LIBS = $(top_builddir)/lib/libaudit.la
SWIG_FLAGS = -python
SWIG_INCLUDES = -I. -I$(top_builddir) -I${top_srcdir}/lib $(PYTHON3_INCLUDES)
-@@ -37,7 +38,7 @@ _audit_la_DEPENDENCIES =${top_srcdir}/lib/audit_logging.h ${top_builddir}/lib/li
+@@ -35,7 +36,7 @@ _audit_la_DEPENDENCIES =${top_srcdir}/lib/audit_logging.h ${top_builddir}/lib/li
_audit_la_LIBADD = ${top_builddir}/lib/libaudit.la
nodist__audit_la_SOURCES = audit_wrap.c
audit.py audit_wrap.c: ${srcdir}/../src/auditswig.i
@@ -40,10 +40,10 @@ index c2c6def4..bcc2836c 100644
CLEANFILES = audit.py* audit_wrap.c *~
diff --git a/bindings/swig/src/auditswig.i b/bindings/swig/src/auditswig.i
-index 6b267844..5a4e442f 100644
+index 2760e516..5d0ea8b6 100644
--- a/bindings/swig/src/auditswig.i
+++ b/bindings/swig/src/auditswig.i
-@@ -50,7 +50,7 @@ typedef unsigned uid_t;
+@@ -52,7 +52,7 @@ typedef unsigned uid_t;
*/
%ignore audit_rule_data::buf;
@@ -52,6 +52,3 @@ index 6b267844..5a4e442f 100644
#define __extension__ /*nothing*/
%include <stdint.i>
%include "../lib/audit-records.h"
-2.25.1
-
similarity index 98%
rename from meta-oe/recipes-security/audit/audit_4.0.4.bb
rename to meta-oe/recipes-security/audit/audit_4.0.5.bb
@@ -13,7 +13,7 @@ SRC_URI = "git://github.com/linux-audit/${BPN}-userspace.git;branch=master;proto
"
S = "${WORKDIR}/git"
-SRCREV = "81dcded2ed9e407dd1357eda0bdc0855f06085e6"
+SRCREV = "97c4ec3d68b5b199f2796d1e126c2144506bd228"
inherit autotools python3targetconfig update-rc.d systemd