summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMart Raudsepp <leio@gentoo.org>2019-12-29 23:26:45 +0200
committerMart Raudsepp <leio@gentoo.org>2019-12-29 23:26:45 +0200
commit94f85a71fb21502ebba2a9a16aa86410b2a45b4b (patch)
tree5d727a951d344846750cf609540bd6877c6858ca /gui-libs
parentdev-python/imagesize: stable 1.1.0 for hppa, bug #700584 (diff)
downloadgentoo-94f85a71fb21502ebba2a9a16aa86410b2a45b4b.tar.gz
gentoo-94f85a71fb21502ebba2a9a16aa86410b2a45b4b.tar.bz2
gentoo-94f85a71fb21502ebba2a9a16aa86410b2a45b4b.zip
gui-libs/wpebackend-fdo: fix build against mesa-19.3 and libglvnd
Closes: https://bugs.gentoo.org/704208 Package-Manager: Portage-2.3.79, Repoman-2.3.12 Signed-off-by: Mart Raudsepp <leio@gentoo.org>
Diffstat (limited to 'gui-libs')
-rw-r--r--gui-libs/wpebackend-fdo/files/1.4.0-eglmesaext-include.patch26
-rw-r--r--gui-libs/wpebackend-fdo/wpebackend-fdo-1.4.0.ebuild4
2 files changed, 30 insertions, 0 deletions
diff --git a/gui-libs/wpebackend-fdo/files/1.4.0-eglmesaext-include.patch b/gui-libs/wpebackend-fdo/files/1.4.0-eglmesaext-include.patch
new file mode 100644
index 000000000000..df332f93ef0b
--- /dev/null
+++ b/gui-libs/wpebackend-fdo/files/1.4.0-eglmesaext-include.patch
@@ -0,0 +1,26 @@
+From bee4104c897412fbe58da0b9615d3a1a1bde826a Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Emilio=20Cobos=20=C3=81lvarez?= <emilio@crisal.io>
+Date: Sun, 15 Dec 2019 13:30:47 +0100
+Subject: [PATCH] Add missing include.
+
+In Fedora Rawhide, while trying to build WebKitGTK, I get a build error otherwise,
+as `PFNEGLQUERYWAYLANDBUFFERWL` is defined in `eglmesaext.h`.
+
+It looks like this header has existed for quite a while so should be fine to include
+directly.
+---
+ src/ws.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/ws.cpp b/src/ws.cpp
+index f1ff709..53a6702 100644
+--- a/src/ws.cpp
++++ b/src/ws.cpp
+@@ -27,6 +27,7 @@
+
+ #include <EGL/egl.h>
+ #include <EGL/eglext.h>
++#include <EGL/eglmesaext.h>
+ #include "linux-dmabuf/linux-dmabuf.h"
+ #include "bridge/wpe-bridge-server-protocol.h"
+ #include <cassert>
diff --git a/gui-libs/wpebackend-fdo/wpebackend-fdo-1.4.0.ebuild b/gui-libs/wpebackend-fdo/wpebackend-fdo-1.4.0.ebuild
index 2c65c642ac40..7fcb392f446e 100644
--- a/gui-libs/wpebackend-fdo/wpebackend-fdo-1.4.0.ebuild
+++ b/gui-libs/wpebackend-fdo/wpebackend-fdo-1.4.0.ebuild
@@ -26,6 +26,10 @@ BDEPEND="
virtual/pkgconfig
"
+PATCHES=(
+ "${FILESDIR}"/${PV}-eglmesaext-include.patch
+)
+
src_configure() {
local mycmakeargs=(
-DBUILD_DOCS=OFF # hotdoc not packaged