xmlsec1: Fix compilation issue in examples 69/13669/1
authorJosé Bollo <jose.bollo@iot.bzh>
Tue, 27 Mar 2018 13:49:48 +0000 (15:49 +0200)
committerJosé Bollo <jose.bollo@iot.bzh>
Tue, 27 Mar 2018 14:48:03 +0000 (16:48 +0200)
When  the feature agl-ptest is selected, it leads to
a compilation error due to an unexpected character
in the file examples/verify3.c.

Bug-AGL: SPEC-1353

Change-Id: Idcda2eed181636a9229b4a666a1ef31eddc6309c
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
meta-security/recipes-security/xmlsec1/xmlsec1/remove-4-in-verify3.patch [new file with mode: 0644]
meta-security/recipes-security/xmlsec1/xmlsec1_1.2.25.bbappend [new file with mode: 0644]

diff --git a/meta-security/recipes-security/xmlsec1/xmlsec1/remove-4-in-verify3.patch b/meta-security/recipes-security/xmlsec1/xmlsec1/remove-4-in-verify3.patch
new file mode 100644 (file)
index 0000000..185ed8f
--- /dev/null
@@ -0,0 +1,11 @@
+diff --git a/examples/verify3.c b/examples/verify3.c
+index 2d26ae7..d36552d 100644
+--- a/examples/verify3.c
++++ b/examples/verify3.c
+@@ -1,4 +1,4 @@
+-4/** 
++/** 
+  * XML Security Library example: Verifying a file signed with X509 certificate
+  *
+  * Verifies a file signed with X509 certificate. 
+
diff --git a/meta-security/recipes-security/xmlsec1/xmlsec1_1.2.25.bbappend b/meta-security/recipes-security/xmlsec1/xmlsec1_1.2.25.bbappend
new file mode 100644 (file)
index 0000000..047ab40
--- /dev/null
@@ -0,0 +1,3 @@
+FILESEXTRAPATHS_append := ":${THISDIR}/${PN}"
+SRC_URI += "file://remove-4-in-verify3.patch"
+