[OE-core] [PATCH 1/1] libxml2: fix LSB desktop-xml tests failure
Hongxu Jia
hongxu.jia at windriver.com
Mon Sep 16 11:14:19 UTC 2013
The commit
http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=8780c5ddf2916bbd42fc67b79c286652aebb1546
add a patch to fix a security issue. It modify include file 'tree.h'
to add 'const char *dummy_children' on 'struct _xmlNs'.
But lsb test suites didn't do this in his own include file, so the LSB
desktop-xml tests failed.
Disable this patch for linuxstdbase could fix this issue.
[YOCTO #5151]
Signed-off-by: Hongxu Jia <hongxu.jia at windriver.com>
---
meta/recipes-core/libxml/libxml2_2.9.1.bb | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/meta/recipes-core/libxml/libxml2_2.9.1.bb b/meta/recipes-core/libxml/libxml2_2.9.1.bb
index fa9c657..3b031a1 100644
--- a/meta/recipes-core/libxml/libxml2_2.9.1.bb
+++ b/meta/recipes-core/libxml/libxml2_2.9.1.bb
@@ -1,6 +1,9 @@
require libxml2.inc
-SRC_URI += "file://libxml2-CVE-2012-2871.patch \
+LIBXML2_CVE = "file://libxml2-CVE-2012-2871.patch"
+LIBXML2_CVE_linuxstdbase = ""
+
+SRC_URI += "${LIBXML2_CVE} \
http://www.w3.org/XML/Test/xmlts20080827.tar.gz;name=testtar \
"
--
1.8.1.2
More information about the Openembedded-core
mailing list