--- webkitgtk-2.42.2/Source/WebCore/xml/XSLTProcessor.h.orig 2023-11-25 15:40:55.964477218 +0100 +++ webkitgtk-2.42.2/Source/WebCore/xml/XSLTProcessor.h 2023-11-25 15:41:00.126507392 +0100 @@ -61,7 +61,7 @@ void reset(); - static void parseErrorFunc(void* userData, xmlError*); + static void parseErrorFunc(void* userData, const xmlError*); static void genericErrorFunc(void* userData, const char* msg, ...); // Only for libXSLT callbacks --- webkitgtk-2.42.2/Source/WebCore/xml/XSLTProcessorLibxslt.cpp.orig 2023-11-25 15:54:11.058051011 +0100 +++ webkitgtk-2.42.2/Source/WebCore/xml/XSLTProcessorLibxslt.cpp 2023-11-25 15:54:18.276056735 +0100 @@ -59,7 +59,7 @@ // It would be nice to do something with this error message. } -void XSLTProcessor::parseErrorFunc(void* userData, xmlError* error) +void XSLTProcessor::parseErrorFunc(void* userData, const xmlError* error) { PageConsoleClient* console = static_cast(userData); if (!console)