buildroot/package/qt5/qt5webkit
Alexis Lothoré 9c33ea04a6 package/qt5/qt5webkit: fix WebCore compatibility issue with updated libxml2
qt5webkit build currently breaks on the following error:

XSLStyleSheetLibxslt.cpp:148:129: error: invalid conversion from ‘void (*)(void*, xmlError*)’ {aka ‘void (*)(void*, _xmlError*)’} to ‘xmlStructuredErrorFunc’ {aka ‘void (*)(void*, const _xmlError*)’} [-fpermissive]
  148 |     XMLDocumentParserScope scope(cachedResourceLoader(), XSLTProcessor::genericErrorFunc, XSLTProcessor::parseErrorFunc, console);
      |                                                                                                                                 ^
      |                                                                                                                                 |
      |                                                                                                                                 void (*)(void*, xmlError*) {aka void (*)(void*, _xmlError*)}

This error is due to an API update in libxml2, enforcing const on more
struct in version 2.12.0 (see [1]). Buildroot now tracks v2.12.5.
Upstream Webkit project has already issued the corresponding fix ([2]),
which updates corresponding internal prototypes depending on libxml2
version, but the qt5webkit version tracked in buildroot does not integrate
the corresponding Webkit version.

Fix this build issue by bringing the upstream patch "as is" from Webkit

No autobuilder references because this build error was hidden by
another build error fixed in a previous patch.

[1] https://gitlab.gnome.org/GNOME/libxml2/-/releases/v2.12.0
[2] 1bad176b24

Signed-off-by: Alexis Lothoré <alexis.lothore@bootlin.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit e24a117388)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2024-07-31 18:33:43 +02:00
..
0001-WinCairo-PlayStation-ICU-68.1-no-longer-exposes-FALS.patch
0002-Fix-compilation-with-Python-3.9-avoid-passing-encodi.patch
0003-Let-Bison-generate-the-header-directly-to-fix-build-.patch
0004-Remove-invalid-g_object-declarations-to-fix-build-wi.patch
0005-Add-support-for-ARC-processors.patch
0006-Warnings-due-to-AppSinkCallbacks-struct-growth-https.patch
0007-Offlineasm-warnings-with-newer-Ruby-versions-https-b.patch
0008-Build-fails-with-libxml2-version-2.12.0-due-to-API-c.patch package/qt5/qt5webkit: fix WebCore compatibility issue with updated libxml2 2024-07-31 18:33:43 +02:00
Config.in
qt5webkit.hash
qt5webkit.mk