summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2024-03-08 22:36:30 -0500
committerIonen Wolkens <ionen@gentoo.org>2024-03-08 22:55:32 -0500
commitddfba238cc0b1ab4056f6d0412790667b57a4aa9 (patch)
treea5d8d316d84659bc384e608f8da9d53543d7d9d3 /app-emulation
parentdev-lang/go: drop 1.22.0 (diff)
downloadgentoo-ddfba238cc0b1ab4056f6d0412790667b57a4aa9.tar.gz
gentoo-ddfba238cc0b1ab4056f6d0412790667b57a4aa9.tar.bz2
gentoo-ddfba238cc0b1ab4056f6d0412790667b57a4aa9.zip
app-emulation/wine-vanilla: fix build with USE="opengl wayland"
Unsure if the new wayland opengl support actually works (runtime untested), but it at least builds now. Very new/experimental anyway. Sorry for missing this during the bump, should've tried USE=wayland. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/wine-vanilla/files/wine-vanilla-9.4-wayland-egl.patch16
-rw-r--r--app-emulation/wine-vanilla/wine-vanilla-9.4.ebuild1
2 files changed, 17 insertions, 0 deletions
diff --git a/app-emulation/wine-vanilla/files/wine-vanilla-9.4-wayland-egl.patch b/app-emulation/wine-vanilla/files/wine-vanilla-9.4-wayland-egl.patch
new file mode 100644
index 000000000000..0c6f8084f480
--- /dev/null
+++ b/app-emulation/wine-vanilla/files/wine-vanilla-9.4-wayland-egl.patch
@@ -0,0 +1,16 @@
+Unsure how this check is supposed to work, HAVE_LIBWAYLAND_EGL is never set
+as a variable but rather output as a "#define" line. Assume been last minute
+upstream oversight.
+
+We check the requirements from the ebuild itself, so let's just drop the check
+as a quick fix for now. Assume that it will be fixed in wine-9.5.
+--- a/configure.ac
++++ b/configure.ac
+@@ -1392,7 +1392,2 @@
+ [WAYLAND_EGL_LIBS=""],[$WAYLAND_EGL_LIBS])])])
+- if test "x$with_wayland" != "x"
+- then
+- WINE_NOTICE_WITH(opengl, [test -z "$ac_cv_lib_soname_EGL" -o -z "$HAVE_LIBWAYLAND_EGL"],
+- [EGL ${notice_platform}development files not found, the Wayland driver won't support OpenGL])
+- fi
+ fi
diff --git a/app-emulation/wine-vanilla/wine-vanilla-9.4.ebuild b/app-emulation/wine-vanilla/wine-vanilla-9.4.ebuild
index 593d2fed1eee..358e42dfad4e 100644
--- a/app-emulation/wine-vanilla/wine-vanilla-9.4.ebuild
+++ b/app-emulation/wine-vanilla/wine-vanilla-9.4.ebuild
@@ -161,6 +161,7 @@ PATCHES=(
"${FILESDIR}"/${PN}-7.0-noexecstack.patch
"${FILESDIR}"/${PN}-7.20-unwind.patch
"${FILESDIR}"/${PN}-8.13-rpath.patch
+ "${FILESDIR}"/${P}-wayland-egl.patch
)
pkg_pretend() {