From: José Bollo Date: Tue, 27 Mar 2018 13:49:48 +0000 (+0200) Subject: xmlsec1: Fix compilation issue in examples X-Git-Tag: 5.99.1~43 X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F69%2F13669%2F1;p=AGL%2Fmeta-agl.git xmlsec1: Fix compilation issue in examples 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 --- 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 index 000000000..185ed8f98 --- /dev/null +++ b/meta-security/recipes-security/xmlsec1/xmlsec1/remove-4-in-verify3.patch @@ -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 index 000000000..047ab402c --- /dev/null +++ b/meta-security/recipes-security/xmlsec1/xmlsec1_1.2.25.bbappend @@ -0,0 +1,3 @@ +FILESEXTRAPATHS_append := ":${THISDIR}/${PN}" +SRC_URI += "file://remove-4-in-verify3.patch" +