git: 3f23fec4c93a - main - www/webkit2-gtk3: unbreak with libglvnd >= 1.3.4
Jan Beich
jbeich at FreeBSD.org
Sun Sep 5 18:21:12 UTC 2021
The branch main has been updated by jbeich:
URL: https://cgit.FreeBSD.org/ports/commit/?id=3f23fec4c93a16578e357f551bb0205c1b947c16
commit 3f23fec4c93a16578e357f551bb0205c1b947c16
Author: Jan Beich <jbeich at FreeBSD.org>
AuthorDate: 2021-09-05 18:15:04 +0000
Commit: Jan Beich <jbeich at FreeBSD.org>
CommitDate: 2021-09-05 18:21:03 +0000
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
---
...re_platform_graphics_x11_PlatformDisplayX11.cpp | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
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
More information about the dev-commits-ports-all
mailing list