diff --git a/components/utility/libxml2/origin.patch b/components/utility/libxml2/origin.patch index 3910d7fdaa39ce3c0ee854a7d685e566d9db831f..c6c9ae4258f92b69ca4300a1e421767111452b6f 100644 --- a/components/utility/libxml2/origin.patch +++ b/components/utility/libxml2/origin.patch @@ -1,7 +1,7 @@ -diff --git a/libxml2-2.6.24/HTMLparser.c b/libxml2-2.6.24_m/HTMLparser.c +diff --git a/libxml2-2.6.24/HTMLparser.c b/libxml2-2.6.24/HTMLparser.c index 2e646ad..732112b 100644 --- a/libxml2-2.6.24/HTMLparser.c -+++ b/libxml2-2.6.24_m/HTMLparser.c ++++ b/libxml2-2.6.24/HTMLparser.c @@ -474,7 +474,7 @@ htmlSkipBlankChars(xmlParserCtxtPtr ctxt) { #define NB_PHRASE 10 #define SPECIAL "a", "img", "applet", "object", "font", "basefont", "br", "script", "map", "q", "sub", "sup", "span", "bdo", "iframe" @@ -45,11 +45,10 @@ index 2e646ad..732112b 100644 static const char* form_attrs[] = { ATTRS, "method", "enctype", "accept", "name", "onsubmit", "onreset", "accept-charset", NULL } ; static const char* frame_attrs[] = { COREATTRS, "longdesc", "name", "src", "frameborder", "marginwidth", "marginheight", "noresize", "scrolling" , NULL } ; static const char* frameset_attrs[] = { COREATTRS, "rows", "cols", "onload", "onunload", NULL } ; -diff --git a/libxml2-2.6.24_m/config.h b/libxml2-2.6.24_m/config.h -new file mode 100644 +diff --git a/libxml2-2.6.24/config.h b/libxml2-2.6.24/config.h index 0000000..7507de7 --- /dev/null -+++ b/libxml2-2.6.24_m/config.h ++++ b/libxml2-2.6.24/config.h @@ -0,0 +1,296 @@ +/* config.h. Generated by configure. */ +/* config.h.in. Generated from configure.in by autoheader. */ @@ -347,10 +346,10 @@ index 0000000..7507de7 + +/* Win32 Std C name mangling work-around */ +/* #undef vsnprintf */ -diff --git a/libxml2-2.6.24/example/gjobread.c b/libxml2-2.6.24_m/example/gjobread.c +diff --git a/libxml2-2.6.24/example/gjobread.c b/libxml2-2.6.24/example/gjobread.c index d3f6d57..d8e4ff0 100755 --- a/libxml2-2.6.24/example/gjobread.c -+++ b/libxml2-2.6.24_m/example/gjobread.c ++++ b/libxml2-2.6.24/example/gjobread.c @@ -9,6 +9,7 @@ #include #include @@ -359,11 +358,10 @@ index d3f6d57..d8e4ff0 100755 /* * This example should compile and run indifferently with libxml-1.8.8 + -diff --git a/libxml2-2.6.24_m/include/libxml/xmlversion.h b/libxml2-2.6.24_m/include/libxml/xmlversion.h -new file mode 100755 +diff --git a/libxml2-2.6.24/include/libxml/xmlversion.h b/libxml2-2.6.24/include/libxml/xmlversion.h index 0000000..591c762 --- /dev/null -+++ b/libxml2-2.6.24_m/include/libxml/xmlversion.h ++++ b/libxml2-2.6.24/include/libxml/xmlversion.h @@ -0,0 +1,396 @@ +/* + * Summary: compile-time version informations @@ -761,10 +759,10 @@ index 0000000..591c762 +#endif + + -diff --git a/libxml2-2.6.24/relaxng.c b/libxml2-2.6.24_m/relaxng.c +diff --git a/libxml2-2.6.24/relaxng.c b/libxml2-2.6.24/relaxng.c index 478f31a..de5911b 100644 --- a/libxml2-2.6.24/relaxng.c -+++ b/libxml2-2.6.24_m/relaxng.c ++++ b/libxml2-2.6.24/relaxng.c @@ -28,7 +28,6 @@ #include @@ -782,10 +780,10 @@ index 478f31a..de5911b 100644 xmlFreeDoc(ctxt->document); ctxt->document = NULL; -diff --git a/libxml2-2.6.24/tree.c b/libxml2-2.6.24_m/tree.c +diff --git a/libxml2-2.6.24/tree.c b/libxml2-2.6.24/tree.c index 8a6b63a..c0a5935 100644 --- a/libxml2-2.6.24/tree.c -+++ b/libxml2-2.6.24_m/tree.c ++++ b/libxml2-2.6.24/tree.c @@ -2267,7 +2267,7 @@ xmlNodePtr xmlNewDocRawNode(xmlDocPtr doc, xmlNsPtr ns, const xmlChar *name, const xmlChar *content) { @@ -803,10 +801,10 @@ index 8a6b63a..c0a5935 100644 return(ret); } -diff --git a/libxml2-2.6.24/xmlIO.c b/libxml2-2.6.24_m/xmlIO.c +diff --git a/libxml2-2.6.24/xmlIO.c b/libxml2-2.6.24/xmlIO.c index 1251665..578221e 100644 --- a/libxml2-2.6.24/xmlIO.c -+++ b/libxml2-2.6.24_m/xmlIO.c ++++ b/libxml2-2.6.24/xmlIO.c @@ -744,10 +744,13 @@ xmlFileOpen_real (const char *filename) { } else path = filename;