DESCRIPTION = "GNOME XML Parser library"
+HOMEPAGE = "http://www.xmlsoft.org/"
+BUGTRACKER = "http://bugzilla.gnome.org/buglist.cgi?product=libxml2"
SECTION = "libs"
PRIORITY = "optional"
LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://COPYING;md5=bb90c48926316d9af6e2d70ca7013ade \
+ file://hash.c;beginline=6;endline=15;md5=ce702952bfddd7aee22639a2d6b54136 \
+ file://list.c;beginline=4;endline=13;md5=cdbfa3dee51c099edb04e39f762ee907 \
+ file://trio.c;beginline=5;endline=14;md5=6c025753c86d958722ec76e94cae932e"
+
+DEPENDS_virtclass-native = "python-native"
+DEPENDS =+ "zlib"
SRC_URI = "ftp://xmlsoft.org/libxml2/libxml2-${PV}.tar.gz \
- file://libxml-64bit.patch;patch=1 \
- file://libxml-nanohttp.patch;patch=1"
+ file://libxml-64bit.patch"
-DEPENDS_virtclass-native = "python-native"
inherit autotools pkgconfig binconfig
PACKAGES = "${PN}-dbg ${PN}-dev ${PN}-utils ${PN} ${PN}-doc ${PN}-locale"
-FILES_${PN}-dev += "${bindir}/*-config"
+FILES_${PN}-dev += "${bindir}/*-config ${libdir}/xml2Conf.sh"
FILES_${PN}-utils += "${bindir}/*"
BBCLASSEXTEND = "native"
+++ /dev/null
-Index: libxml2-2.6.29/nanohttp.c
-===================================================================
---- libxml2-2.6.29.orig/nanohttp.c 2008-10-30 10:12:11.000000000 +0800
-+++ libxml2-2.6.29/nanohttp.c 2008-10-30 10:12:30.000000000 +0800
-@@ -1585,7 +1585,7 @@
- if (!strcmp(filename, "-"))
- fd = 0;
- else {
-- fd = open(filename, O_CREAT | O_WRONLY);
-+ fd = open(filename, O_CREAT | O_WRONLY, 0644);
- if (fd < 0) {
- xmlNanoHTTPClose(ctxt);
- return(-1);