From 5cc23f3882c4026d7b1a7d27c9d825bad6cf947b Mon Sep 17 00:00:00 2001 From: Aaron Bauman Date: Sun, 8 Dec 2019 13:35:42 -0500 Subject: [PATCH] gui-libs/wlroots: add patch to include EGL/eglmesaext.h * Patch is currently in upstream master. Expect it to hit on next release (0.8.2+) Closes: https://bugs.gentoo.org/700114 Signed-off-by: Aaron Bauman --- .../files/wlroots-0.8.1-eglmesaextfix.patch | 25 +++++++++++++++++++ gui-libs/wlroots/wlroots-0.8.1-r1.ebuild | 3 +++ 2 files changed, 28 insertions(+) create mode 100644 gui-libs/wlroots/files/wlroots-0.8.1-eglmesaextfix.patch diff --git a/gui-libs/wlroots/files/wlroots-0.8.1-eglmesaextfix.patch b/gui-libs/wlroots/files/wlroots-0.8.1-eglmesaextfix.patch new file mode 100644 index 000000000000..614d0c7a2cd4 --- /dev/null +++ b/gui-libs/wlroots/files/wlroots-0.8.1-eglmesaextfix.patch @@ -0,0 +1,25 @@ +From d113e48a2a32542fe6e12f1759f07888364609bf Mon Sep 17 00:00:00 2001 +From: Ferdinand Bachmann +Date: Sat, 19 Oct 2019 13:33:22 +0200 +Subject: [PATCH] Add missing include required by mesa and libglvnd change + +eglext.h no longer inludes eglmesaext.h, include it within wlroots +explicitly. + +Fixes #1862 +--- + glgen.sh | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/glgen.sh b/glgen.sh +index 7324fdf6b..31af28120 100755 +--- a/glgen.sh ++++ b/glgen.sh +@@ -75,6 +75,7 @@ cat > "$OUTDIR/$BASE.h" << EOF + + #include + #include ++#include + #include + #include + diff --git a/gui-libs/wlroots/wlroots-0.8.1-r1.ebuild b/gui-libs/wlroots/wlroots-0.8.1-r1.ebuild index 50a4262598f9..51f138afcfd2 100644 --- a/gui-libs/wlroots/wlroots-0.8.1-r1.ebuild +++ b/gui-libs/wlroots/wlroots-0.8.1-r1.ebuild @@ -68,6 +68,9 @@ src_configure() { emesonargs+=("-Dlogind=disabled") fi + # Patch is currently in upstream master + eapply "${FILESDIR}/wlroots-0.8.1-eglmesaextfix.patch" + meson_src_configure } -- 2.26.2