mirror of
https://git.yoctoproject.org/poky
synced 2026-05-30 12:29:55 +00:00
libxml2: 2.9.7 -> 2.9.8
(From OE-Core rev: de24ead63802523daa19ce8528ac95d9e041eaf8) Signed-off-by: Andrej Valek <andrej.valek@siemens.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
49e0838e1d
commit
ce8d120bfc
@@ -1,25 +0,0 @@
|
|||||||
Sadly cmake is broken. If it sees this reference and ansidecl is present, it will add a
|
|
||||||
dependency upon it, even if HAVE_ANSIDEC_H is never set.
|
|
||||||
|
|
||||||
The easiest solution is to remove these lines, otherwise recipes like libzypp can have a
|
|
||||||
dependency on the ansidecl.h header via cmake. This can lead to odd results if the
|
|
||||||
header is removed (clean binutils) and then the code is recompiled.
|
|
||||||
|
|
||||||
RP 2012/7/10
|
|
||||||
|
|
||||||
Upstream-Status: Inappropriate [its really a cmake bug]
|
|
||||||
|
|
||||||
diff --git a/configure.ac b/configure.ac
|
|
||||||
index 0260281..fdb58e9 100644
|
|
||||||
--- a/configure.ac
|
|
||||||
+++ b/configure.ac
|
|
||||||
@@ -484 +483,0 @@ AC_CHECK_HEADERS([time.h])
|
|
||||||
-AC_CHECK_HEADERS([ansidecl.h])
|
|
||||||
diff --git a/include/libxml/xmlversion.h.in b/include/libxml/xmlversion.h.in
|
|
||||||
index b173be9..d10f975 100644
|
|
||||||
--- a/include/libxml/xmlversion.h.in
|
|
||||||
+++ b/include/libxml/xmlversion.h.in
|
|
||||||
@@ -413,3 +412,0 @@ XMLPUBFUN void XMLCALL xmlCheckVersion(int version);
|
|
||||||
-#ifdef HAVE_ANSIDECL_H
|
|
||||||
-#include <ansidecl.h>
|
|
||||||
-#endif
|
|
||||||
@@ -6,8 +6,8 @@ Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
|
|||||||
Upstream-Status: Backport
|
Upstream-Status: Backport
|
||||||
|
|
||||||
diff -uNr a/Makefile.am b/Makefile.am
|
diff -uNr a/Makefile.am b/Makefile.am
|
||||||
--- a/Makefile.am 2017-08-28 15:01:14.000000000 +0200
|
--- a/Makefile.am 2017-12-02 09:58:10.000000000 +0100
|
||||||
+++ b/Makefile.am 2017-09-05 08:06:05.752287323 +0200
|
+++ b/Makefile.am 2018-03-20 08:27:34.360505864 +0100
|
||||||
@@ -202,6 +202,15 @@
|
@@ -202,6 +202,15 @@
|
||||||
#testOOM_DEPENDENCIES = $(DEPS)
|
#testOOM_DEPENDENCIES = $(DEPS)
|
||||||
#testOOM_LDADD= $(LDADDS)
|
#testOOM_LDADD= $(LDADDS)
|
||||||
@@ -24,10 +24,9 @@ diff -uNr a/Makefile.am b/Makefile.am
|
|||||||
runtests: runtest$(EXEEXT) testrecurse$(EXEEXT) testapi$(EXEEXT) \
|
runtests: runtest$(EXEEXT) testrecurse$(EXEEXT) testapi$(EXEEXT) \
|
||||||
testchar$(EXEEXT) testdict$(EXEEXT) runxmlconf$(EXEEXT)
|
testchar$(EXEEXT) testdict$(EXEEXT) runxmlconf$(EXEEXT)
|
||||||
[ -d test ] || $(LN_S) $(srcdir)/test .
|
[ -d test ] || $(LN_S) $(srcdir)/test .
|
||||||
|
|
||||||
diff -uNr a/runsuite.c b/runsuite.c
|
diff -uNr a/runsuite.c b/runsuite.c
|
||||||
--- a/runsuite.c 2013-04-12 16:17:11.462823238 +0200
|
--- a/runsuite.c 2016-06-07 12:04:14.000000000 +0200
|
||||||
+++ b/runsuite.c 2013-04-17 14:07:24.352693211 +0200
|
+++ b/runsuite.c 2018-03-20 08:27:57.478817247 +0100
|
||||||
@@ -1162,6 +1162,7 @@
|
@@ -1162,6 +1162,7 @@
|
||||||
|
|
||||||
if (logfile != NULL)
|
if (logfile != NULL)
|
||||||
@@ -37,17 +36,19 @@ diff -uNr a/runsuite.c b/runsuite.c
|
|||||||
}
|
}
|
||||||
#else /* !SCHEMAS */
|
#else /* !SCHEMAS */
|
||||||
diff -uNr a/runtest.c b/runtest.c
|
diff -uNr a/runtest.c b/runtest.c
|
||||||
--- a/runtest.c 2013-04-16 13:19:15.087997290 +0200
|
--- a/runtest.c 2017-11-13 22:00:17.000000000 +0100
|
||||||
+++ b/runtest.c 2013-04-17 14:08:29.529949655 +0200
|
+++ b/runtest.c 2018-03-20 08:28:50.859047551 +0100
|
||||||
@@ -4386,6 +4386,7 @@
|
@@ -4496,7 +4496,8 @@
|
||||||
err++;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
xmlCharEncCloseFunc(ebcdicHandler);
|
||||||
|
-
|
||||||
|
+
|
||||||
+ printf("%s: %s\n", (err == 0) ? "PASS" : "FAIL", tst->desc);
|
+ printf("%s: %s\n", (err == 0) ? "PASS" : "FAIL", tst->desc);
|
||||||
return(err);
|
return(err);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -4455,6 +4456,7 @@
|
@@ -4573,6 +4574,7 @@
|
||||||
xmlCleanupParser();
|
xmlCleanupParser();
|
||||||
xmlMemoryDump();
|
xmlMemoryDump();
|
||||||
|
|
||||||
@@ -56,8 +57,8 @@ diff -uNr a/runtest.c b/runtest.c
|
|||||||
}
|
}
|
||||||
|
|
||||||
diff -uNr a/runxmlconf.c b/runxmlconf.c
|
diff -uNr a/runxmlconf.c b/runxmlconf.c
|
||||||
--- a/runxmlconf.c 2013-04-16 12:53:49.900982990 +0200
|
--- a/runxmlconf.c 2016-06-07 12:04:14.000000000 +0200
|
||||||
+++ b/runxmlconf.c 2013-04-17 14:09:21.111778104 +0200
|
+++ b/runxmlconf.c 2018-03-20 08:29:17.944862893 +0100
|
||||||
@@ -595,6 +595,7 @@
|
@@ -595,6 +595,7 @@
|
||||||
|
|
||||||
if (logfile != NULL)
|
if (logfile != NULL)
|
||||||
@@ -67,9 +68,9 @@ diff -uNr a/runxmlconf.c b/runxmlconf.c
|
|||||||
}
|
}
|
||||||
|
|
||||||
diff -uNr a/testapi.c b/testapi.c
|
diff -uNr a/testapi.c b/testapi.c
|
||||||
--- a/testapi.c 2013-04-12 16:16:57.763417659 +0200
|
--- a/testapi.c 2018-01-25 07:39:15.000000000 +0100
|
||||||
+++ b/testapi.c 2013-04-17 14:10:28.876924881 +0200
|
+++ b/testapi.c 2018-03-20 09:08:35.323980145 +0100
|
||||||
@@ -1245,49 +1245,91 @@
|
@@ -1246,49 +1246,91 @@
|
||||||
testlibxml2(void)
|
testlibxml2(void)
|
||||||
{
|
{
|
||||||
int test_ret = 0;
|
int test_ret = 0;
|
||||||
@@ -200,9 +201,19 @@ diff -uNr a/testapi.c b/testapi.c
|
|||||||
return(test_ret);
|
return(test_ret);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
diff -uNr a/testdict.c b/testdict.c
|
||||||
|
--- a/testdict.c 2016-06-07 12:04:14.000000000 +0200
|
||||||
|
+++ b/testdict.c 2018-03-20 08:59:16.864275812 +0100
|
||||||
|
@@ -440,5 +440,6 @@
|
||||||
|
clean_strings();
|
||||||
|
xmlCleanupParser();
|
||||||
|
xmlMemoryDump();
|
||||||
|
+ printf("%s: testdict\n\n", (ret == 0) ? "PASS" : "FAIL");
|
||||||
|
return(ret);
|
||||||
|
}
|
||||||
diff -uNr a/testchar.c b/testchar.c
|
diff -uNr a/testchar.c b/testchar.c
|
||||||
--- a/testchar.c 2013-04-17 10:50:30.250147418 +0200
|
--- a/testchar.c 2016-06-07 12:04:14.000000000 +0200
|
||||||
+++ b/testchar.c 2013-04-18 16:11:28.455733800 +0200
|
+++ b/testchar.c 2018-03-20 09:11:20.383573912 +0100
|
||||||
@@ -23,7 +23,7 @@
|
@@ -23,7 +23,7 @@
|
||||||
char document1[100] = "<doc>XXXX</doc>";
|
char document1[100] = "<doc>XXXX</doc>";
|
||||||
char document2[100] = "<doc foo='XXXX'/>";
|
char document2[100] = "<doc foo='XXXX'/>";
|
||||||
@@ -777,20 +788,10 @@ diff -uNr a/testchar.c b/testchar.c
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
* Cleanup function for the XML library.
|
* Cleanup function for the XML library.
|
||||||
diff -uNr a/testdict.c b/testdict.c
|
|
||||||
--- a/testdict.c 2013-04-16 15:08:42.971177193 +0200
|
|
||||||
+++ b/testdict.c 2013-04-18 15:59:00.699482439 +0200
|
|
||||||
@@ -440,5 +440,6 @@
|
|
||||||
clean_strings();
|
|
||||||
xmlCleanupParser();
|
|
||||||
xmlMemoryDump();
|
|
||||||
+ printf("%s: testdict\n\n", (ret == 0) ? "PASS" : "FAIL");
|
|
||||||
return(ret);
|
|
||||||
}
|
|
||||||
diff -uNr a/testlimits.c b/testlimits.c
|
diff -uNr a/testlimits.c b/testlimits.c
|
||||||
--- a/testlimits.c 2013-04-12 16:16:36.180354177 +0200
|
--- a/testlimits.c 2016-11-07 09:41:40.000000000 +0100
|
||||||
+++ b/testlimits.c 2013-04-17 14:03:17.203092987 +0200
|
+++ b/testlimits.c 2018-03-20 08:59:38.965581280 +0100
|
||||||
@@ -1630,5 +1630,6 @@
|
@@ -1634,5 +1634,6 @@
|
||||||
xmlCleanupParser();
|
xmlCleanupParser();
|
||||||
xmlMemoryDump();
|
xmlMemoryDump();
|
||||||
|
|
||||||
@@ -798,8 +799,8 @@ diff -uNr a/testlimits.c b/testlimits.c
|
|||||||
return(ret);
|
return(ret);
|
||||||
}
|
}
|
||||||
diff -uNr a/testrecurse.c b/testrecurse.c
|
diff -uNr a/testrecurse.c b/testrecurse.c
|
||||||
--- a/testrecurse.c 2013-04-16 13:19:49.366536295 +0200
|
--- a/testrecurse.c 2017-10-26 09:54:40.000000000 +0200
|
||||||
+++ b/testrecurse.c 2013-04-17 14:06:27.367091622 +0200
|
+++ b/testrecurse.c 2018-03-20 09:00:46.781628749 +0100
|
||||||
@@ -892,6 +892,7 @@
|
@@ -892,6 +892,7 @@
|
||||||
err++;
|
err++;
|
||||||
}
|
}
|
||||||
|
|||||||
+2
-3
@@ -14,7 +14,6 @@ DEPENDS = "zlib virtual/libiconv"
|
|||||||
SRC_URI = "http://www.xmlsoft.org/sources/libxml2-${PV}.tar.gz;name=libtar \
|
SRC_URI = "http://www.xmlsoft.org/sources/libxml2-${PV}.tar.gz;name=libtar \
|
||||||
http://www.w3.org/XML/Test/xmlts20080827.tar.gz;name=testtar \
|
http://www.w3.org/XML/Test/xmlts20080827.tar.gz;name=testtar \
|
||||||
file://libxml-64bit.patch \
|
file://libxml-64bit.patch \
|
||||||
file://ansidecl.patch \
|
|
||||||
file://runtest.patch \
|
file://runtest.patch \
|
||||||
file://run-ptest \
|
file://run-ptest \
|
||||||
file://python-sitepackages-dir.patch \
|
file://python-sitepackages-dir.patch \
|
||||||
@@ -23,8 +22,8 @@ SRC_URI = "http://www.xmlsoft.org/sources/libxml2-${PV}.tar.gz;name=libtar \
|
|||||||
file://fix-execution-of-ptests.patch \
|
file://fix-execution-of-ptests.patch \
|
||||||
"
|
"
|
||||||
|
|
||||||
SRC_URI[libtar.md5sum] = "896608641a08b465098a40ddf51cefba"
|
SRC_URI[libtar.md5sum] = "b786e353e2aa1b872d70d5d1ca0c740d"
|
||||||
SRC_URI[libtar.sha256sum] = "f63c5e7d30362ed28b38bfa1ac6313f9a80230720b7fb6c80575eeab3ff5900c"
|
SRC_URI[libtar.sha256sum] = "0b74e51595654f958148759cfef0993114ddccccbb6f31aee018f3558e8e2732"
|
||||||
SRC_URI[testtar.md5sum] = "ae3d1ebe000a3972afa104ca7f0e1b4a"
|
SRC_URI[testtar.md5sum] = "ae3d1ebe000a3972afa104ca7f0e1b4a"
|
||||||
SRC_URI[testtar.sha256sum] = "96151685cec997e1f9f3387e3626d61e6284d4d6e66e0e440c209286c03e9cc7"
|
SRC_URI[testtar.sha256sum] = "96151685cec997e1f9f3387e3626d61e6284d4d6e66e0e440c209286c03e9cc7"
|
||||||
|
|
||||||
Reference in New Issue
Block a user