Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 535832 Details for
Bug 653078
>dev-qt/qtwebengine-5.11.0_beta3 should disable XML catalogs at run time
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
qtwebengine-5.11.0-disable_xml_catalogs.patch
qtwebengine-5.11.0-disable_xml_catalogs.patch (text/plain), 1.57 KB, created by
Arfrever Frehtes Taifersar Arahesis
on 2018-06-13 22:33:47 UTC
(
hide
)
Description:
qtwebengine-5.11.0-disable_xml_catalogs.patch
Filename:
MIME Type:
Creator:
Arfrever Frehtes Taifersar Arahesis
Created:
2018-06-13 22:33:47 UTC
Size:
1.57 KB
patch
obsolete
>--- /config.tests/xml2/xml2.cpp >+++ /config.tests/xml2/xml2.cpp >@@ -27,9 +27,6 @@ > ****************************************************************************/ > > #include <libxml/xmlversion.h> >-#if defined(LIBXML_CATALOG_ENABLED) >-#error "libxml catalog enabled" >-#endif > #if !defined(LIBXML_ICU_ENABLED) > #error "libxml icu not enabled" > #endif >--- /src/3rdparty/chromium/third_party/WebKit/Source/core/xml/parser/XMLDocumentParser.cpp >+++ /src/3rdparty/chromium/third_party/WebKit/Source/core/xml/parser/XMLDocumentParser.cpp >@@ -28,6 +28,10 @@ > > #include <libxml/parser.h> > #include <libxml/parserInternals.h> >+#include <libxml/xmlversion.h> >+#if defined(LIBXML_CATALOG_ENABLED) >+#include <libxml/catalog.h> >+#endif > #include <libxslt/xslt.h> > #include <memory> > #include "core/css/StyleEngine.h" >@@ -538,10 +542,6 @@ > static bool ShouldAllowExternalLoad(const KURL& url) { > String url_string = url.GetString(); > >- // libxml should not be configured with catalogs enabled, so it >- // should not be asking to load default catalogs. >- CHECK(!IsLibxmlDefaultCatalogFile(url)); >- > // The most common DTD. There isn't much point in hammering www.w3c.org by > // requesting this URL for every XHTML document. > if (url_string.StartsWithIgnoringASCIICase("http://www.w3.org/TR/xhtml")) >@@ -646,6 +646,9 @@ > if (did_init) > return; > >+#if defined(LIBXML_CATALOG_ENABLED) >+ xmlCatalogSetDefaults(XML_CATA_ALLOW_NONE); >+#endif > xmlInitParser(); > xmlRegisterInputCallbacks(MatchFunc, OpenFunc, ReadFunc, CloseFunc); > xmlRegisterOutputCallbacks(MatchFunc, OpenFunc, WriteFunc, CloseFunc);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 653078
:
533606
|
533608
|
533610
|
533614
|
533616
|
533618
|
533620
|
533626
|
533630
|
535766
|
535768
|
535770
|
535832
|
535834