From ab37c81e19edbff7c1cacea831d7257ca2206701 Mon Sep 17 00:00:00 2001 From: José Bollo Date: Tue, 27 Mar 2018 15:49:48 +0200 Subject: xmlsec1: Fix compilation issue in examples MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- .../xmlsec1/xmlsec1/remove-4-in-verify3.patch | 11 +++++++++++ .../recipes-security/xmlsec1/xmlsec1_1.2.25.bbappend | 3 +++ 2 files changed, 14 insertions(+) create mode 100644 meta-security/recipes-security/xmlsec1/xmlsec1/remove-4-in-verify3.patch create mode 100644 meta-security/recipes-security/xmlsec1/xmlsec1_1.2.25.bbappend (limited to 'meta-security') 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" + -- cgit 1.2.3-korg