Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libxml2/files/
Date: Sun, 18 Apr 2021 01:38:46
Message-Id: 1618709903.a54298ad9cd0f92c370573c087ad77e432e692ab.sam@gentoo
1 commit: a54298ad9cd0f92c370573c087ad77e432e692ab
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Sat Apr 17 04:57:43 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sun Apr 18 01:38:23 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a54298ad
7
8 dev-libs/libxml2: tidy up patches
9
10 Signed-off-by: Sam James <sam <AT> gentoo.org>
11
12 dev-libs/libxml2/files/libxml2-2.9.10-remove-TRUE.patch | 7 -------
13 dev-libs/libxml2/files/libxml2-2.9.10-xmllint-utf8.patch | 8 --------
14 dev-libs/libxml2/files/libxml2-2.9.2-python-ABIFLAG.patch | 5 -----
15 dev-libs/libxml2/files/libxml2-2.9.8-out-of-tree-test.patch | 8 --------
16 dev-libs/libxml2/files/libxml2-2.9.8-python3-unicode-errors.patch | 7 +++----
17 5 files changed, 3 insertions(+), 32 deletions(-)
18
19 diff --git a/dev-libs/libxml2/files/libxml2-2.9.10-remove-TRUE.patch b/dev-libs/libxml2/files/libxml2-2.9.10-remove-TRUE.patch
20 index e405feb37c3..c979c841477 100644
21 --- a/dev-libs/libxml2/files/libxml2-2.9.10-remove-TRUE.patch
22 +++ b/dev-libs/libxml2/files/libxml2-2.9.10-remove-TRUE.patch
23 @@ -10,11 +10,6 @@ icu-68.1 removed macro definitions for TRUE and FALSE
24
25 Signed-off-by: Lars Wendler <polynomial-c@g.o>
26 ---
27 - encoding.c | 2 +-
28 - 1 file changed, 1 insertion(+), 1 deletion(-)
29 -
30 -diff --git a/encoding.c b/encoding.c
31 -index ad4d8a63..ea1fa99e 100644
32 --- a/encoding.c
33 +++ b/encoding.c
34 @@ -1958,7 +1958,7 @@ xmlEncOutputChunk(xmlCharEncodingHandler *handler, unsigned char *out,
35 @@ -27,5 +22,3 @@ index ad4d8a63..ea1fa99e 100644
36 #endif /* LIBXML_ICU_ENABLED */
37 else {
38 --
39 -2.29.2
40 -
41
42 diff --git a/dev-libs/libxml2/files/libxml2-2.9.10-xmllint-utf8.patch b/dev-libs/libxml2/files/libxml2-2.9.10-xmllint-utf8.patch
43 index 179f3a8c384..205b26b54f8 100644
44 --- a/dev-libs/libxml2/files/libxml2-2.9.10-xmllint-utf8.patch
45 +++ b/dev-libs/libxml2/files/libxml2-2.9.10-xmllint-utf8.patch
46 @@ -12,12 +12,6 @@ Thanks to @SuhwanSong and the Agency for Defense Development (ADD) for
47 the report.
48
49 Fixes #178.
50 ----
51 - xmllint.c | 6 ++++++
52 - 1 file changed, 6 insertions(+)
53 -
54 -diff --git a/xmllint.c b/xmllint.c
55 -index f6a8e463..c647486f 100644
56 --- a/xmllint.c
57 +++ b/xmllint.c
58 @@ -528,6 +528,12 @@ static void
59 @@ -34,5 +28,3 @@ index f6a8e463..c647486f 100644
60 if (result) {
61 xmlGenericError(xmlGenericErrorContext, "%s", result);
62 --
63 -GitLab
64 -
65
66 diff --git a/dev-libs/libxml2/files/libxml2-2.9.2-python-ABIFLAG.patch b/dev-libs/libxml2/files/libxml2-2.9.2-python-ABIFLAG.patch
67 index 14dd5bc7342..7c5557f9915 100644
68 --- a/dev-libs/libxml2/files/libxml2-2.9.2-python-ABIFLAG.patch
69 +++ b/dev-libs/libxml2/files/libxml2-2.9.2-python-ABIFLAG.patch
70 @@ -1,8 +1,3 @@
71 - configure.ac | 2 +-
72 - 1 file changed, 1 insertion(+), 1 deletion(-)
73 -
74 -diff --git a/configure.ac b/configure.ac
75 -index 14ac0a8..f787b12 100644
76 --- a/configure.ac
77 +++ b/configure.ac
78 @@ -844,7 +844,7 @@ if test "$with_python" != "no" ; then
79
80 diff --git a/dev-libs/libxml2/files/libxml2-2.9.8-out-of-tree-test.patch b/dev-libs/libxml2/files/libxml2-2.9.8-out-of-tree-test.patch
81 index fcc441d05de..1e269c3387b 100644
82 --- a/dev-libs/libxml2/files/libxml2-2.9.8-out-of-tree-test.patch
83 +++ b/dev-libs/libxml2/files/libxml2-2.9.8-out-of-tree-test.patch
84 @@ -9,12 +9,6 @@ When building out of tree, the relative path this test uses doesn't
85 work. Resolve the path relative to the test script itself instead.
86
87 Url: https://bugs.gentoo.org/565576
88 ----
89 - python/tests/reader5.py | 4 +++-
90 - 1 file changed, 3 insertions(+), 1 deletion(-)
91 -
92 -diff --git a/python/tests/reader5.py b/python/tests/reader5.py
93 -index 82d0daea474a..da5355ffc4c6 100755
94 --- a/python/tests/reader5.py
95 +++ b/python/tests/reader5.py
96 @@ -4,6 +4,7 @@
97 @@ -36,5 +30,3 @@ index 82d0daea474a..da5355ffc4c6 100755
98 reader = input.newTextReader("REC")
99 res=""
100 --
101 -2.19.1
102 -
103
104 diff --git a/dev-libs/libxml2/files/libxml2-2.9.8-python3-unicode-errors.patch b/dev-libs/libxml2/files/libxml2-2.9.8-python3-unicode-errors.patch
105 index e87dcdedf88..db20221afe4 100644
106 --- a/dev-libs/libxml2/files/libxml2-2.9.8-python3-unicode-errors.patch
107 +++ b/dev-libs/libxml2/files/libxml2-2.9.8-python3-unicode-errors.patch
108 @@ -1,7 +1,6 @@
109 -Index: libxml2-2.9.5/python/libxml.c
110 -===================================================================
111 ---- libxml2-2.9.5.orig/python/libxml.c
112 -+++ libxml2-2.9.5/python/libxml.c
113 +https://bugs.gentoo.org/745162
114 +--- a/python/libxml.c
115 ++++ b/python/libxml.c
116 @@ -1620,6 +1620,7 @@ libxml_xmlErrorFuncHandler(ATTRIBUTE_UNU
117 PyObject *message;
118 PyObject *result;