net-libs/webkit-gtk: Add patch to build with mesa-19.3
authorMatt Turner <mattst88@gentoo.org>
Sat, 23 Nov 2019 18:07:37 +0000 (13:07 -0500)
committerMatt Turner <mattst88@gentoo.org>
Sat, 23 Nov 2019 19:27:53 +0000 (14:27 -0500)
Thanks to Alexander Tsoy for the patch.

Closes: https://bugs.gentoo.org/699054
Signed-off-by: Matt Turner <mattst88@gentoo.org>
net-libs/webkit-gtk/files/webkit-gtk-2.24.4-eglmesaext-include.patch [new file with mode: 0644]
net-libs/webkit-gtk/webkit-gtk-2.24.4.ebuild

diff --git a/net-libs/webkit-gtk/files/webkit-gtk-2.24.4-eglmesaext-include.patch b/net-libs/webkit-gtk/files/webkit-gtk-2.24.4-eglmesaext-include.patch
new file mode 100644 (file)
index 0000000..9c277e7
--- /dev/null
@@ -0,0 +1,10 @@
+--- webkitgtk-2.24.4.orig/Source/WebKit/UIProcess/gtk/WaylandCompositor.cpp    2019-08-26 17:55:46.000000000 +0300
++++ webkitgtk-2.24.4.orig/Source/WebKit/UIProcess/gtk/WaylandCompositor.cpp    2019-11-04 23:33:44.146933810 +0300
+@@ -31,6 +31,7 @@ 
+ #include "WebKitWaylandServerProtocol.h"
+ #include <EGL/egl.h>
+ #include <EGL/eglext.h>
++#include <EGL/eglmesaext.h>
+ #include <WebCore/GLContext.h>
+ #include <WebCore/PlatformDisplayWayland.h>
+ #include <WebCore/Region.h>
index d90cc8c26a4813947477011bb24fa8e500c8da97..93381a7d5a1168ef11ec55bdd24012d84ba276c1 100644 (file)
@@ -160,6 +160,7 @@ pkg_setup() {
 
 src_prepare() {
        eapply "${FILESDIR}/${P}-icu-65.patch" # bug 698596
+       eapply "${FILESDIR}/${P}-eglmesaext-include.patch" # bug 699054
        cmake-utils_src_prepare
        gnome2_src_prepare
 }