diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2022-09-06 10:20:08 -0400 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2022-09-06 10:48:36 -0400 |
commit | ddc354f096fb5d32feb6df8af4a6e2f079edd178 (patch) | |
tree | f7a02b8a5ecfdad2666f73fee2c05fec9fdaa59a /app-emulation/wine-proton | |
parent | dev-php/PHPMailer: add 6.6.4, drop 6.5.1 (diff) | |
download | gentoo-ddc354f096fb5d32feb6df8af4a6e2f079edd178.tar.gz gentoo-ddc354f096fb5d32feb6df8af4a6e2f079edd178.tar.bz2 gentoo-ddc354f096fb5d32feb6df8af4a6e2f079edd178.zip |
app-emulation/wine-proton: fix musl build with >=linux-headers-5.16
Closes: https://bugs.gentoo.org/868747
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'app-emulation/wine-proton')
-rw-r--r-- | app-emulation/wine-proton/files/wine-proton-7.0.4-musl.patch | 17 | ||||
-rw-r--r-- | app-emulation/wine-proton/wine-proton-7.0.4.ebuild | 1 |
2 files changed, 18 insertions, 0 deletions
diff --git a/app-emulation/wine-proton/files/wine-proton-7.0.4-musl.patch b/app-emulation/wine-proton/files/wine-proton-7.0.4-musl.patch new file mode 100644 index 000000000000..0776df12f241 --- /dev/null +++ b/app-emulation/wine-proton/files/wine-proton-7.0.4-musl.patch @@ -0,0 +1,17 @@ +Wrongly assumes that futex_waitv is missing if no glibc-only __NR_futex_waitv. +https://bugs.gentoo.org/868747 +--- a/configure.ac ++++ b/configure.ac +@@ -2153,2 +2153,5 @@ + ++dnl Check for futex_waitv structure members ++AC_CHECK_MEMBERS(struct futex_waitv.val,,,[#include <linux/futex.h>]) ++ + dnl Check for socket structure members +--- a/dlls/ntdll/unix/fsync.c ++++ b/dlls/ntdll/unix/fsync.c +@@ -67,2 +67,4 @@ + # define __NR_futex_waitv 449 ++#endif ++#ifndef HAVE_STRUCT_FUTEX_WAITV_VAL + # define FUTEX_32 2 diff --git a/app-emulation/wine-proton/wine-proton-7.0.4.ebuild b/app-emulation/wine-proton/wine-proton-7.0.4.ebuild index b78eed8c93c6..b7bb3868a11a 100644 --- a/app-emulation/wine-proton/wine-proton-7.0.4.ebuild +++ b/app-emulation/wine-proton/wine-proton-7.0.4.ebuild @@ -95,6 +95,7 @@ QA_TEXTRELS="usr/lib/*/wine/i386-unix/*.so" # uses -fno-PIC -Wl,-z,notext PATCHES=( "${FILESDIR}"/${PN}-7.0.4-llvm-libunwind.patch + "${FILESDIR}"/${PN}-7.0.4-musl.patch "${FILESDIR}"/${PN}-7.0.4-noexecstack.patch "${FILESDIR}"/${PN}-7.0.4-restore-menubuilder.patch ) |