Hi Zhe Liu, On Wed, Dec 14, 2011 at 02:55:33PM +0800, Zhe Liu wrote: > Yes. I got workaround. >
can you please try the attached patch, with the reverted libxml2 tar? Regards -- Ariel Constenla-Haile La Plata, Argentina
diff --git a/libxml2/libxml2-testapi.patch b/libxml2/libxml2-testapi.patch new file mode 100644 index 0000000..cee5c5f --- /dev/null +++ b/libxml2/libxml2-testapi.patch @@ -0,0 +1,12 @@ +diff -uNrp misc/libxml2-2.7.6/testapi.c misc/build/libxml2-2.7.6/testapi.c +--- misc/libxml2-2.7.6/testapi.c 2009-09-24 12:32:00.000000000 -0300 ++++ misc/build/libxml2-2.7.6/testapi.c 2011-12-14 04:49:53.920180490 -0300 +@@ -291,7 +291,7 @@ static void des_long(int no ATTRIBUTE_UN + static xmlChar gen_xmlChar(int no, int nr ATTRIBUTE_UNUSED) { + if (no == 0) return('a'); + if (no == 1) return(' '); +- if (no == 2) return((xmlChar) '�'); ++ if (no == 2) return((xmlChar) 0xF8 ); + return(0); + } + diff --git a/libxml2/makefile.mk b/libxml2/makefile.mk index 01f142f..02fcd3c 100755 --- a/libxml2/makefile.mk +++ b/libxml2/makefile.mk @@ -53,6 +53,7 @@ PATCH_FILES=libxml2-configure.patch \ libxml2-gnome599717.patch \ libxml2-xpath.patch \ libxml2-global-symbols.patch \ + libxml2-testapi.patch \ .IF "$(OS)" == "WNT" PATCH_FILES+= libxml2-long-path.patch
pgp8d8CIy2huN.pgp
Description: PGP signature