Needs I think:
--- a/src/wraplibxml.cpp
+++ b/src/wraplibxml.cpp
@@ -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 );
Patch works for me with libxml2 2.13.4-1 on ArchLinux.