mirror of
https://git.freebsd.org/ports.git
synced 2025-07-07 12:29:16 -04:00
14 lines
464 B
C++
14 lines
464 B
C++
--- cegui/src/XMLParserModules/Libxml2/XMLParser.cpp.orig 2016-04-23 18:19:40 UTC
|
|
+++ cegui/src/XMLParserModules/Libxml2/XMLParser.cpp
|
|
@@ -99,7 +99,11 @@ void LibxmlParser::parseXML(XMLHandler& handler,
|
|
|
|
if (!doc)
|
|
{
|
|
+#if LIBXML_VERSION >= 21200
|
|
+ const xmlError* err = xmlGetLastError();
|
|
+#else
|
|
xmlError* err = xmlGetLastError();
|
|
+#endif
|
|
|
|
CEGUI_THROW(GenericException(
|
|
String("xmlParseMemory failed in file: '") +
|