Gentoo Archives: gentoo-commits

From: Jimi Huotari <chiitoo@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/qt:master commit in: dev-qt/qtwebengine/, dev-qt/qtwebengine/files/
Date: Wed, 25 Jul 2018 19:22:24
Message-Id: 1532546039.05eb9454e3e8d769bbb78cb93ede37204c0a0f0d.chiitoo@gentoo
1 commit: 05eb9454e3e8d769bbb78cb93ede37204c0a0f0d
2 Author: Arfrever Frehtes Taifersar Arahesis <Arfrever <AT> Apache <DOT> Org>
3 AuthorDate: Thu Jun 21 18:48:05 2018 +0000
4 Commit: Jimi Huotari <chiitoo <AT> gentoo <DOT> org>
5 CommitDate: Wed Jul 25 19:13:59 2018 +0000
6 URL: https://gitweb.gentoo.org/proj/qt.git/commit/?id=05eb9454
7
8 dev-qt/qtwebengine: Update libxml2-disable-catalogs.patch for 5.9999.
9
10 Bug: https://bugs.gentoo.org/653078
11
12 ...webengine-5.12.0-libxml2-disable-catalogs.patch | 35 ++++++++++++++++++++++
13 dev-qt/qtwebengine/qtwebengine-5.9999.ebuild | 2 +-
14 2 files changed, 36 insertions(+), 1 deletion(-)
15
16 diff --git a/dev-qt/qtwebengine/files/qtwebengine-5.12.0-libxml2-disable-catalogs.patch b/dev-qt/qtwebengine/files/qtwebengine-5.12.0-libxml2-disable-catalogs.patch
17 new file mode 100644
18 index 00000000..6093b145
19 --- /dev/null
20 +++ b/dev-qt/qtwebengine/files/qtwebengine-5.12.0-libxml2-disable-catalogs.patch
21 @@ -0,0 +1,35 @@
22 +--- a/config.tests/xml2/xml2.cpp
23 ++++ b/config.tests/xml2/xml2.cpp
24 +@@ -27,9 +27,6 @@
25 + ****************************************************************************/
26 +
27 + #include <libxml/xmlversion.h>
28 +-#if defined(LIBXML_CATALOG_ENABLED)
29 +-#error "libxml catalog enabled"
30 +-#endif
31 + #if !defined(LIBXML_ICU_ENABLED)
32 + #error "libxml icu not enabled"
33 + #endif
34 +--- a/src/3rdparty/chromium/third_party/blink/renderer/core/xml/parser/xml_document_parser.cc
35 ++++ b/src/3rdparty/chromium/third_party/blink/renderer/core/xml/parser/xml_document_parser.cc
36 +@@ -28,6 +28,10 @@
37 +
38 + #include <libxml/parser.h>
39 + #include <libxml/parserInternals.h>
40 ++#include <libxml/xmlversion.h>
41 ++#if defined(LIBXML_CATALOG_ENABLED)
42 ++#include <libxml/catalog.h>
43 ++#endif
44 + #include <libxslt/xslt.h>
45 +
46 + #include <memory>
47 +@@ -646,6 +650,9 @@ static void InitializeLibXMLIfNecessary() {
48 + if (did_init)
49 + return;
50 +
51 ++#if defined(LIBXML_CATALOG_ENABLED)
52 ++ xmlCatalogSetDefaults(XML_CATA_ALLOW_NONE);
53 ++#endif
54 + xmlInitParser();
55 + xmlRegisterInputCallbacks(MatchFunc, OpenFunc, ReadFunc, CloseFunc);
56 + xmlRegisterOutputCallbacks(MatchFunc, OpenFunc, WriteFunc, CloseFunc);
57
58 diff --git a/dev-qt/qtwebengine/qtwebengine-5.9999.ebuild b/dev-qt/qtwebengine/qtwebengine-5.9999.ebuild
59 index 94340299..2a7c9515 100644
60 --- a/dev-qt/qtwebengine/qtwebengine-5.9999.ebuild
61 +++ b/dev-qt/qtwebengine/qtwebengine-5.9999.ebuild
62 @@ -80,7 +80,7 @@ DEPEND="${RDEPEND}
63 "
64
65 PATCHES+=(
66 - "${FILESDIR}/${PN}-5.11.1-libxml2-disable-catalogs.patch" # bug 653078
67 + "${FILESDIR}/${PN}-5.12.0-libxml2-disable-catalogs.patch" # bug 653078
68 "${FILESDIR}/${PN}-5.11.1-nouveau-disable-gpu.patch" # bug 609752
69 )