diff options
-rw-r--r-- | app-emulation/wine-vanilla/files/wine-vanilla-9.4-wayland-egl.patch | 16 | ||||
-rw-r--r-- | app-emulation/wine-vanilla/wine-vanilla-9.4.ebuild | 1 |
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() { |