File qt5-qwebkit-xslt-update-fix.patch of Package mingw64-libqt5-qtwebkit

--- qtwebkit-everywhere-src-5.15.14+kde0/Source/WebCore/xml/XSLTProcessorLibxslt.cpp.orig	2025-05-06 10:26:06.101896479 +0200
+++ qtwebkit-everywhere-src-5.15.14+kde0/Source/WebCore/xml/XSLTProcessorLibxslt.cpp	2025-05-06 10:24:58.774112946 +0200
@@ -78,7 +78,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<PageConsoleClient*>(userData);
     if (!console)
--- qtwebkit-everywhere-src-5.15.14+kde0/Source/WebCore/xml/XSLTProcessor.h.orig	2025-05-06 13:31:25.155829460 +0200
+++ qtwebkit-everywhere-src-5.15.14+kde0/Source/WebCore/xml/XSLTProcessor.h	2025-05-06 13:31:31.331817310 +0200
@@ -64,7 +64,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
openSUSE Build Service is sponsored by