summaryrefslogtreecommitdiffstats
path: root/meta/recipes-sato/webkit/webkitgtk/include_xutil.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-sato/webkit/webkitgtk/include_xutil.patch')
-rw-r--r--meta/recipes-sato/webkit/webkitgtk/include_xutil.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/meta/recipes-sato/webkit/webkitgtk/include_xutil.patch b/meta/recipes-sato/webkit/webkitgtk/include_xutil.patch
new file mode 100644
index 0000000000..f770b381ce
--- /dev/null
+++ b/meta/recipes-sato/webkit/webkitgtk/include_xutil.patch
@@ -0,0 +1,24 @@
1Since
2https://github.com/WebKit/webkit/commit/acd3f32cd43c363be032f93ede3aa10c4ee97fa4
3it uses XVisualInfo which is defined in Xutil.h
4
5Without this the build fails with:
6webkitgtk-2.30.2/Source/WebCore/platform/graphics/x11/PlatformDisplayX11.cpp:132:5: error: 'XVisualInfo' was not declared in this scope; did you mean 'VisualID'?
7 132 | XVisualInfo visualTemplate;
8 | ^~~~~~~~~~~
9 | VisualID
10
11Upstream-Status: Pending
12Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
13
14diff -uNr webkitgtk-2.30.2.orig/Source/WebCore/platform/graphics/x11/PlatformDisplayX11.cpp webkitgtk-2.30.2/Source/WebCore/platform/graphics/x11/PlatformDisplayX11.cpp
15--- webkitgtk-2.30.2.orig/Source/WebCore/platform/graphics/x11/PlatformDisplayX11.cpp 2020-08-12 09:17:55.000000000 +0000
16+++ webkitgtk-2.30.2/Source/WebCore/platform/graphics/x11/PlatformDisplayX11.cpp 2020-11-06 03:11:40.379913528 +0000
17@@ -30,6 +30,7 @@
18
19 #if PLATFORM(X11)
20 #include <X11/Xlib.h>
21+#include <X11/Xutil.h>
22 #include <X11/extensions/Xcomposite.h>
23 #if PLATFORM(GTK)
24 #include <X11/extensions/Xdamage.h>