diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2021-09-05 18:15:04 +0000 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2021-09-05 18:21:03 +0000 |
commit | 3f23fec4c93a16578e357f551bb0205c1b947c16 (patch) | |
tree | 00ecb8a042fb4725fd8f35a69e95367f7a8fe128 /www/webkit2-gtk3 | |
parent | faa54c8325903424349630d2e80942ed881fb594 (diff) | |
download | ports-3f23fec4c93a16578e357f551bb0205c1b947c16.tar.gz ports-3f23fec4c93a16578e357f551bb0205c1b947c16.zip |
www/webkit2-gtk3: unbreak with libglvnd >= 1.3.4
Source/WebCore/platform/graphics/x11/PlatformDisplayX11.cpp:132:5: error: unknown type name 'XVisualInfo'
XVisualInfo visualTemplate;
^
Source/WebCore/platform/graphics/x11/PlatformDisplayX11.cpp:136:5: error: unknown type name 'XVisualInfo'
XVisualInfo* visualInfo = XGetVisualInfo(m_display, VisualScreenMask, &visualTemplate, &visualCount);
^
Source/WebCore/platform/graphics/x11/PlatformDisplayX11.cpp:136:57: error: use of undeclared identifier 'VisualScreenMask'
XVisualInfo* visualInfo = XGetVisualInfo(m_display, VisualScreenMask, &visualTemplate, &visualCount);
^
PR: 258269
Diffstat (limited to 'www/webkit2-gtk3')
-rw-r--r-- | www/webkit2-gtk3/files/patch-Source_WebCore_platform_graphics_x11_PlatformDisplayX11.cpp | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/www/webkit2-gtk3/files/patch-Source_WebCore_platform_graphics_x11_PlatformDisplayX11.cpp b/www/webkit2-gtk3/files/patch-Source_WebCore_platform_graphics_x11_PlatformDisplayX11.cpp new file mode 100644 index 000000000000..6b5abb697d55 --- /dev/null +++ b/www/webkit2-gtk3/files/patch-Source_WebCore_platform_graphics_x11_PlatformDisplayX11.cpp @@ -0,0 +1,22 @@ +Regressed by https://github.com/KhronosGroup/EGL-Registry/commit/64aa561f1971 + +Source/WebCore/platform/graphics/x11/PlatformDisplayX11.cpp:132:5: error: unknown type name 'XVisualInfo' + XVisualInfo visualTemplate; + ^ +Source/WebCore/platform/graphics/x11/PlatformDisplayX11.cpp:136:5: error: unknown type name 'XVisualInfo' + XVisualInfo* visualInfo = XGetVisualInfo(m_display, VisualScreenMask, &visualTemplate, &visualCount); + ^ +Source/WebCore/platform/graphics/x11/PlatformDisplayX11.cpp:136:57: error: use of undeclared identifier 'VisualScreenMask' + XVisualInfo* visualInfo = XGetVisualInfo(m_display, VisualScreenMask, &visualTemplate, &visualCount); + ^ + +--- Source/WebCore/platform/graphics/x11/PlatformDisplayX11.cpp.orig 2020-08-12 09:17:55 UTC ++++ Source/WebCore/platform/graphics/x11/PlatformDisplayX11.cpp +@@ -36,6 +36,7 @@ + #endif + + #if USE(EGL) ++#define USE_X11 + #include <EGL/egl.h> + #include <EGL/eglext.h> + #endif |