LIBUSB_COMPAT="libusb-compat-0.1.4"
LIBWNCK="libwnck-2.30.7"
LIBXKLAVIER="libxklavier-5.2.1"
-LIBXML2="libxml2-2.8.0"
+LIBXML2="libxml2-2.9.2"
LIBXSLT="libxslt-1.1.26"
LIBX264="x264-snapshot-20130416-2245"
LIGHTTPD="lighttpd-1.4.32"
ipkg -m noac ${DOCBOOK_DSSSL}
ipkg -m noac ${SGML_SPM}
ipkg ${DOCBOOK_UTILS}
-ipkg -m acnb ${LIBXML2}
+ipkg -m acnb ${LIBXML2} "--disable-static --with-history"
ipkg -m acnb ${LIBXSLT}
ipkg -m noac ${DOCBOOK_XML}
ipkg -m noac ${DOCBOOK_XSL}
--- /dev/null
+diff -Naur libxml2-2.9.2.orig/parser.c libxml2-2.9.2.new/parser.c
+--- libxml2-2.9.2.orig/parser.c 2014-10-16 01:57:40.000000000 -0400
++++ libxml2-2.9.2.new/parser.c 2014-12-23 14:36:56.870905830 -0500
+@@ -7235,7 +7235,8 @@
+ * far more secure as the parser will only process data coming from
+ * the document entity by default.
+ */
+- if ((ent->checked == 0) &&
++ if (((ent->checked == 0) ||
++ ((ent->children == NULL) && (ctxt->options & XML_PARSE_NOENT))) &&
+ ((ent->etype != XML_EXTERNAL_GENERAL_PARSED_ENTITY) ||
+ (ctxt->options & (XML_PARSE_NOENT | XML_PARSE_DTDVALID)))) {
+ unsigned long oldnbent = ctxt->nbentities;
+@@ -14831,7 +14832,6 @@
+ xmlXPathInit();
+ #endif
+ #ifdef LIBXML_CATALOG_ENABLED
+- xmlInitializeCatalog();
+ #endif
+ xmlParserInitialized = 1;
+ #ifdef LIBXML_THREAD_ENABLED