commit: d8c7ecb8fbbdbcbef6b9804e93b0d0669e0f28fc Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> AuthorDate: Mon Apr 22 19:59:03 2024 +0000 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> CommitDate: Mon Apr 22 20:31:13 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d8c7ecb8
app-emulation/wine-staging: "fix" build with gcc-14 All versions currently broken due to the staging patchset itself (>=vanilla-9 and proton-9.0.9999 are fine). Given amount of wine variants and versions, going for the lazy "fix" in these for now. Given the active development, imagine will be able to cleanup later. Closes: https://bugs.gentoo.org/919758 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> app-emulation/wine-staging/wine-staging-9.0.ebuild | 5 +++++ app-emulation/wine-staging/wine-staging-9.5.ebuild | 5 +++++ app-emulation/wine-staging/wine-staging-9.6.ebuild | 5 +++++ app-emulation/wine-staging/wine-staging-9.7.ebuild | 5 +++++ app-emulation/wine-staging/wine-staging-9999.ebuild | 5 +++++ 5 files changed, 25 insertions(+) diff --git a/app-emulation/wine-staging/wine-staging-9.0.ebuild b/app-emulation/wine-staging/wine-staging-9.0.ebuild index 7a0bdfdd539c..537675f10ba0 100644 --- a/app-emulation/wine-staging/wine-staging-9.0.ebuild +++ b/app-emulation/wine-staging/wine-staging-9.0.ebuild @@ -337,6 +337,11 @@ src_configure() { strip-unsupported-flags fi + # >=wine-vanilla-9 has proper fixes and builds with gcc-14, but + # staging patchset is messier and would rather not have to worry + # about it (try to remove on bump now and then, bug #919758) + append-cflags $(test-flags-CC -Wno-error=incompatible-pointer-types) + if use mingw; then use crossdev-mingw || PATH=${BROOT}/usr/lib/mingw64-toolchain/bin:${PATH} diff --git a/app-emulation/wine-staging/wine-staging-9.5.ebuild b/app-emulation/wine-staging/wine-staging-9.5.ebuild index ff73fe1caa6e..08b56968b3ac 100644 --- a/app-emulation/wine-staging/wine-staging-9.5.ebuild +++ b/app-emulation/wine-staging/wine-staging-9.5.ebuild @@ -337,6 +337,11 @@ src_configure() { strip-unsupported-flags fi + # >=wine-vanilla-9 has proper fixes and builds with gcc-14, but + # staging patchset is messier and would rather not have to worry + # about it (try to remove on bump now and then, bug #919758) + append-cflags $(test-flags-CC -Wno-error=incompatible-pointer-types) + if use mingw; then use crossdev-mingw || PATH=${BROOT}/usr/lib/mingw64-toolchain/bin:${PATH} diff --git a/app-emulation/wine-staging/wine-staging-9.6.ebuild b/app-emulation/wine-staging/wine-staging-9.6.ebuild index e7ecd6c1b120..2c9f8fc4ef2a 100644 --- a/app-emulation/wine-staging/wine-staging-9.6.ebuild +++ b/app-emulation/wine-staging/wine-staging-9.6.ebuild @@ -332,6 +332,11 @@ src_configure() { strip-unsupported-flags fi + # >=wine-vanilla-9 has proper fixes and builds with gcc-14, but + # staging patchset is messier and would rather not have to worry + # about it (try to remove on bump now and then, bug #919758) + append-cflags $(test-flags-CC -Wno-error=incompatible-pointer-types) + if use mingw; then use crossdev-mingw || PATH=${BROOT}/usr/lib/mingw64-toolchain/bin:${PATH} diff --git a/app-emulation/wine-staging/wine-staging-9.7.ebuild b/app-emulation/wine-staging/wine-staging-9.7.ebuild index e7ecd6c1b120..2c9f8fc4ef2a 100644 --- a/app-emulation/wine-staging/wine-staging-9.7.ebuild +++ b/app-emulation/wine-staging/wine-staging-9.7.ebuild @@ -332,6 +332,11 @@ src_configure() { strip-unsupported-flags fi + # >=wine-vanilla-9 has proper fixes and builds with gcc-14, but + # staging patchset is messier and would rather not have to worry + # about it (try to remove on bump now and then, bug #919758) + append-cflags $(test-flags-CC -Wno-error=incompatible-pointer-types) + if use mingw; then use crossdev-mingw || PATH=${BROOT}/usr/lib/mingw64-toolchain/bin:${PATH} diff --git a/app-emulation/wine-staging/wine-staging-9999.ebuild b/app-emulation/wine-staging/wine-staging-9999.ebuild index e7ecd6c1b120..2c9f8fc4ef2a 100644 --- a/app-emulation/wine-staging/wine-staging-9999.ebuild +++ b/app-emulation/wine-staging/wine-staging-9999.ebuild @@ -332,6 +332,11 @@ src_configure() { strip-unsupported-flags fi + # >=wine-vanilla-9 has proper fixes and builds with gcc-14, but + # staging patchset is messier and would rather not have to worry + # about it (try to remove on bump now and then, bug #919758) + append-cflags $(test-flags-CC -Wno-error=incompatible-pointer-types) + if use mingw; then use crossdev-mingw || PATH=${BROOT}/usr/lib/mingw64-toolchain/bin:${PATH}