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@gentoo.org>
This commit is contained in:
Ionen Wolkens
2024-04-22 16:31:13 -04:00
parent 429da42ae3
commit d8c7ecb8fb
5 changed files with 25 additions and 0 deletions
@@ -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}
@@ -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}
@@ -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}
@@ -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}
@@ -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}