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 index 6b5abb697d55..b28e346ad858 100644 --- 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 @@ -1,22 +1,23 @@ Regressed by https://github.com/KhronosGroup/EGL-Registry/commit/64aa561f1971 +Part of https://github.com/WebKit/WebKit/commit/29421afdcd64 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 @@ +@@ -32,6 +32,7 @@ + #include + #include + #if PLATFORM(GTK) ++#include + #include #endif - #if USE(EGL) -+#define USE_X11 - #include - #include - #endif