aboutsummaryrefslogtreecommitdiff
path: root/www/webkit2-gtk3
diff options
context:
space:
mode:
Diffstat (limited to 'www/webkit2-gtk3')
-rw-r--r--www/webkit2-gtk3/files/patch-Source_WebCore_platform_graphics_x11_PlatformDisplayX11.cpp22
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