git: 66ae4f88bcf7 - main - graphics/cegui: add patch to fix upcomming libxml2 update
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 29 Jun 2024 23:09:17 UTC
The branch main has been updated by oliver: URL: https://cgit.FreeBSD.org/ports/commit/?id=66ae4f88bcf7ffc77c623d3805567c8e3bc1b69a commit 66ae4f88bcf7ffc77c623d3805567c8e3bc1b69a Author: Oliver Lehmann <oliver@FreeBSD.org> AuthorDate: 2024-06-29 23:06:57 +0000 Commit: Oliver Lehmann <oliver@FreeBSD.org> CommitDate: 2024-06-29 23:08:58 +0000 graphics/cegui: add patch to fix upcomming libxml2 update PR: 279965 --- graphics/cegui/files/patch-cegui__src__CMakeLists.txt | 4 ++-- .../patch-cegui_src_XMLParserModules_Libxml2_XMLParser.cpp | 14 ++++++++++++++ 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/graphics/cegui/files/patch-cegui__src__CMakeLists.txt b/graphics/cegui/files/patch-cegui__src__CMakeLists.txt index de36d8f4e4c0..4b88c991b163 100644 --- a/graphics/cegui/files/patch-cegui__src__CMakeLists.txt +++ b/graphics/cegui/files/patch-cegui__src__CMakeLists.txt @@ -1,6 +1,6 @@ ---- cegui/src/CMakeLists.txt.orig 2014-07-07 07:06:18 UTC +--- cegui/src/CMakeLists.txt.orig 2016-04-23 18:19:40 UTC +++ cegui/src/CMakeLists.txt -@@ -93,6 +93,10 @@ elseif (MINGW) +@@ -99,6 +99,10 @@ elseif (MINGW) cegui_target_link_libraries(${CEGUI_TARGET_NAME} ${CMAKE_DL_LIBS}) endif() diff --git a/graphics/cegui/files/patch-cegui_src_XMLParserModules_Libxml2_XMLParser.cpp b/graphics/cegui/files/patch-cegui_src_XMLParserModules_Libxml2_XMLParser.cpp new file mode 100644 index 000000000000..c767f5abd03d --- /dev/null +++ b/graphics/cegui/files/patch-cegui_src_XMLParserModules_Libxml2_XMLParser.cpp @@ -0,0 +1,14 @@ +--- 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: '") +