From 580c02b541dc03f84c3ff8639fb784b1ba715045 Mon Sep 17 00:00:00 2001
From: Jimi Huotari <chiitoo@gentoo.org>
Date: Fri, 17 Aug 2018 16:49:34 +0300
Subject: [PATCH] Remove check for catalog support in libxml2

Changes have been made upstream, backported in
http://code.qt.io/cgit/qt/qtwebengine-chromium.git/commit/?h=65-based&id=eb5360b2
that make it possible to link against system libxml2 again, even if
it has been compiled with catalog support.

Thanks to Arfrever Frehtes Taifersar Arahesis for their help on this.

Change-Id: I61a49ab806f6dbbd96a2df09946c1a14062e6df5
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
---
 config.tests/xml2/xml2.cpp | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/config.tests/xml2/xml2.cpp b/config.tests/xml2/xml2.cpp
index 93bc80c97..497653d9c 100644
--- a/config.tests/xml2/xml2.cpp
+++ b/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
-- 
GitLab