diff --git a/editors/xmlcopyeditor/files/patch-src_wraplibxml.cpp b/editors/xmlcopyeditor/files/patch-src_wraplibxml.cpp new file mode 100644 index 000000000000..dd59b228708c --- /dev/null +++ b/editors/xmlcopyeditor/files/patch-src_wraplibxml.cpp @@ -0,0 +1,23 @@ +Fix with >libxml2-2.12 +https://sourceforge.net/p/xml-copy-editor/bugs/239/ + +--- src/wraplibxml.cpp.orig 2025-01-23 10:31:01 UTC ++++ src/wraplibxml.cpp +@@ -706,7 +706,7 @@ wxString WrapLibxml::getLastError() + + wxString WrapLibxml::getLastError() + { +- xmlErrorPtr err = xmlGetLastError(); ++ const xmlError *err = xmlGetLastError(); + + if ( !err ) + return nonParserError; +@@ -722,7 +722,7 @@ std::pair WrapLibxml::getErrorPosition() + + std::pair WrapLibxml::getErrorPosition() + { +- xmlErrorPtr err = xmlGetLastError(); ++ const xmlError *err = xmlGetLastError(); + if ( !err ) + return std::make_pair ( 1, 1 ); +