diff options
Diffstat (limited to 'debian/patches')
-rw-r--r-- | debian/patches/0110-xerces-c3.2.patch | 182 | ||||
-rw-r--r-- | debian/patches/series | 1 |
2 files changed, 183 insertions, 0 deletions
diff --git a/debian/patches/0110-xerces-c3.2.patch b/debian/patches/0110-xerces-c3.2.patch new file mode 100644 index 0000000..319936b --- /dev/null +++ b/debian/patches/0110-xerces-c3.2.patch @@ -0,0 +1,182 @@ +Description: Remove tests for character ref. values unsupported by Xerces-C++ 3.2 +Author: Boris Kolpackov <boris@codesynthesis.com> +Origin: https://git.codesynthesis.com/cgit/xsd/xsd/patch/?id=400651ba7fd2f80155348ed39fc02e2aa9892fb9 +Bug: <URL to the upstream bug report if any, implies patch has been forwarded, optional> +Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=881108 +Last-Update: 2017-11-08 +--- +This patch header follows DEP-3: http://dep.debian.net/deps/dep3/ +Index: trunk/xsd/tests/cxx/tree/encoding/char/iso-8859-1/driver.cxx +=================================================================== +--- trunk.orig/xsd/tests/cxx/tree/encoding/char/iso-8859-1/driver.cxx ++++ trunk/xsd/tests/cxx/tree/encoding/char/iso-8859-1/driver.cxx +@@ -43,7 +43,7 @@ main (int argc, char* argv[]) + if (s[0] != "abc" || + s[1] != "\xE6" || + s[2] != "\xA2\xA3\xA4\xA5" || +- s[3] != "???") ++ s[3] != "??") + { + cerr << "invalid encoding" << endl; + return 1; +Index: trunk/xsd/tests/cxx/tree/encoding/char/iso-8859-1/test.std +=================================================================== +--- trunk.orig/xsd/tests/cxx/tree/encoding/char/iso-8859-1/test.std ++++ trunk/xsd/tests/cxx/tree/encoding/char/iso-8859-1/test.std +@@ -3,7 +3,7 @@ + <a>abc</a> + <a>æ</a> + <a>¢£¤¥</a> +- <a>???</a> ++ <a>??</a> + <b>abc</b> + <b>aâc</b> + <b>âòbc</b> +Index: trunk/xsd/tests/cxx/tree/encoding/char/iso-8859-1/test.xml +=================================================================== +--- trunk.orig/xsd/tests/cxx/tree/encoding/char/iso-8859-1/test.xml ++++ trunk/xsd/tests/cxx/tree/encoding/char/iso-8859-1/test.xml +@@ -5,7 +5,7 @@ + <a>abc</a> + <a>æ</a> + <a>¢£¤¥</a> +- <a>Āꪪ򪪪</a> ++ <a>Āꪪ</a> + + <b>abc</b> + <b>aâc</b> +Index: trunk/xsd/tests/cxx/tree/encoding/char/utf-8/driver.cxx +=================================================================== +--- trunk.orig/xsd/tests/cxx/tree/encoding/char/utf-8/driver.cxx ++++ trunk/xsd/tests/cxx/tree/encoding/char/utf-8/driver.cxx +@@ -32,8 +32,7 @@ main (int argc, char* argv[]) + + if (s[0] != "abc" || + s[1] != "\xD5\x95" || +- s[2] != "\xEA\xAA\xAA" || +- s[3] != "\xF2\xAA\xAA\xAA") ++ s[2] != "\xEA\xAA\xAA") + { + cerr << "invalid encoding" << endl; + return 1; +@@ -45,8 +44,7 @@ main (int argc, char* argv[]) + + if (s[0] != strenum::abc || + s[1] != strenum::a_c || +- s[2] != strenum::cxx_bc || +- s[3] != strenum::ab_) ++ s[2] != strenum::cxx_bc) + { + cerr << "invalid encoding" << endl; + return 1; +Index: trunk/xsd/tests/cxx/tree/encoding/char/utf-8/test.std +=================================================================== +--- trunk.orig/xsd/tests/cxx/tree/encoding/char/utf-8/test.std ++++ trunk/xsd/tests/cxx/tree/encoding/char/utf-8/test.std +@@ -3,9 +3,7 @@ + <a>abc</a> + <a>Օ</a> + <a>ꪪ</a> +- <a>򪪪</a> + <b>abc</b> + <b>aՕc</b> + <b>ꪪbc</b> +- <b>ab򪪪</b> + </t:root> +Index: trunk/xsd/tests/cxx/tree/encoding/char/utf-8/test.xml +=================================================================== +--- trunk.orig/xsd/tests/cxx/tree/encoding/char/utf-8/test.xml ++++ trunk/xsd/tests/cxx/tree/encoding/char/utf-8/test.xml +@@ -5,11 +5,9 @@ + <a>abc</a> + <a>Օ</a> + <a>ꪪ</a> +- <a>򪪪</a> + + <b>abc</b> + <b>aՕc</b> + <b>ꪪbc</b> +- <b>ab򪪪</b> + + </t:root> +Index: trunk/xsd/tests/cxx/tree/encoding/char/utf-8/test.xsd +=================================================================== +--- trunk.orig/xsd/tests/cxx/tree/encoding/char/utf-8/test.xsd ++++ trunk/xsd/tests/cxx/tree/encoding/char/utf-8/test.xsd +@@ -9,7 +9,6 @@ + abc + aՕc + ꪪbc +- ab򪪪 + </documentation> + </annotation> + +@@ -17,7 +16,6 @@ + <enumeration value="abc"/> + <enumeration value="aՕc"/> + <enumeration value="ꪪbc"/> +- <enumeration value="ab򪪪"/> + </restriction> + </simpleType> + +Index: trunk/xsd/tests/cxx/tree/encoding/wchar/test.std +=================================================================== +--- trunk.orig/xsd/tests/cxx/tree/encoding/wchar/test.std ++++ trunk/xsd/tests/cxx/tree/encoding/wchar/test.std +@@ -2,9 +2,9 @@ + <t:root xmlns:t="test"> + <a>abc</a> + <a>῿퟿</a> +- <a>𐀀􏿽</a> ++ <a>ကჿ</a> + <b>abc</b> + <b>a῿퟿c</b> +- <b>𐀀􏿽bc</b> +- <b>ab𐀀􏿽</b> ++ <b>ကჿbc</b> ++ <b>abကჿ</b> + </t:root> +Index: trunk/xsd/tests/cxx/tree/encoding/wchar/test.xml +=================================================================== +--- trunk.orig/xsd/tests/cxx/tree/encoding/wchar/test.xml ++++ trunk/xsd/tests/cxx/tree/encoding/wchar/test.xml +@@ -4,11 +4,11 @@ + + <a>abc</a> + <a>῿퟿</a> +- <a>𐀀􏿽</a> ++ <a>ကჿ</a> + + <b>abc</b> + <b>a῿퟿c</b> +- <b>𐀀􏿽bc</b> +- <b>ab𐀀􏿽</b> ++ <b>ကჿbc</b> ++ <b>abကჿ</b> + + </t:root> +Index: trunk/xsd/tests/cxx/tree/encoding/wchar/test.xsd +=================================================================== +--- trunk.orig/xsd/tests/cxx/tree/encoding/wchar/test.xsd ++++ trunk/xsd/tests/cxx/tree/encoding/wchar/test.xsd +@@ -8,16 +8,16 @@ + Test enum. Valid values are: + abc + a῿퟿c +- 𐀀􏿽bc +- ab𐀀􏿽 ++ ကჿbc ++ abကჿ + </documentation> + </annotation> + + <restriction base="string"> + <enumeration value="abc"/> + <enumeration value="a῿퟿c"/> +- <enumeration value="𐀀􏿽bc"/> +- <enumeration value="ab𐀀􏿽"/> ++ <enumeration value="ကჿbc"/> ++ <enumeration value="abကჿ"/> + </restriction> + </simpleType> + diff --git a/debian/patches/series b/debian/patches/series index ca892aa..28fbf6b 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -2,3 +2,4 @@ 0001-xsd_xsdcxx-rename.patch 0700_hurd_PATH_MAX.patch 0105-Fix_path_handling_bug.patch +0110-xerces-c3.2.patch |