File fix-build.patch of Package xmlcopyeditor

diff -rub xmlcopyeditor-1.3.1.0/src/wraplibxml.cpp xmlcopyeditor-1.3.1.0-patched/src/wraplibxml.cpp
--- xmlcopyeditor-1.3.1.0/src/wraplibxml.cpp	2022-10-08 17:18:24.000000000 +0200
+++ xmlcopyeditor-1.3.1.0-patched/src/wraplibxml.cpp	2025-01-04 04:35:56.987335717 +0100
@@ -706,7 +706,7 @@
 
 wxString WrapLibxml::getLastError()
 {
-	xmlErrorPtr err = xmlGetLastError();
+	const xmlError *err = xmlGetLastError();
 
 	if ( !err )
 		return nonParserError;
@@ -722,7 +722,7 @@
 
 std::pair<int, int> WrapLibxml::getErrorPosition()
 {
-	xmlErrorPtr err = xmlGetLastError();
+	const xmlError *err = xmlGetLastError();
 	if ( !err )
 		return std::make_pair ( 1, 1 );
 
openSUSE Build Service is sponsored by