From 6030950f383729aef2ede1f2a0dc90514b260981 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Sat, 23 Nov 2019 13:07:37 -0500 Subject: [PATCH] net-libs/webkit-gtk: Add patch to build with mesa-19.3 Thanks to Alexander Tsoy for the patch. Closes: https://bugs.gentoo.org/699054 Signed-off-by: Matt Turner --- .../files/webkit-gtk-2.24.4-eglmesaext-include.patch | 10 ++++++++++ net-libs/webkit-gtk/webkit-gtk-2.24.4.ebuild | 1 + 2 files changed, 11 insertions(+) create mode 100644 net-libs/webkit-gtk/files/webkit-gtk-2.24.4-eglmesaext-include.patch 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 index 000000000000..9c277e719d89 --- /dev/null +++ b/net-libs/webkit-gtk/files/webkit-gtk-2.24.4-eglmesaext-include.patch @@ -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 + #include ++#include + #include + #include + #include diff --git a/net-libs/webkit-gtk/webkit-gtk-2.24.4.ebuild b/net-libs/webkit-gtk/webkit-gtk-2.24.4.ebuild index d90cc8c26a48..93381a7d5a11 100644 --- a/net-libs/webkit-gtk/webkit-gtk-2.24.4.ebuild +++ b/net-libs/webkit-gtk/webkit-gtk-2.24.4.ebuild @@ -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 } -- 2.26.2