commit:     cbb17c018e6f301831371eeda5a3f7e660bddba5
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 15 22:01:22 2022 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Nov 15 22:03:38 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbb17c01

app-emulation/wine-staging: update live

Upstream has restored CROSSLDFLAGS, but issues
with -fno-strict-aliasing still remains.

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 app-emulation/wine-staging/wine-staging-9999.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/app-emulation/wine-staging/wine-staging-9999.ebuild 
b/app-emulation/wine-staging/wine-staging-9999.ebuild
index a2cb290f769f..37968fe103e5 100644
--- a/app-emulation/wine-staging/wine-staging-9999.ebuild
+++ b/app-emulation/wine-staging/wine-staging-9999.ebuild
@@ -128,7 +128,6 @@ QA_TEXTRELS="usr/lib/*/wine/i386-unix/*.so" # uses -fno-PIC 
-Wl,-z,notext
 PATCHES=(
        "${FILESDIR}"/${PN}-7.17-noexecstack.patch
        "${FILESDIR}"/${PN}-7.20-unwind.patch
-       "${FILESDIR}"/${PN}-7.21-crossflags.patch
 )
 
 pkg_pretend() {
@@ -282,6 +281,8 @@ src_configure() {
 
                        # use *FLAGS for mingw, but strip unsupported
                        : "${CROSSCFLAGS:=$(
+                               # >=wine-7.21 configure.ac no longer adds 
-fno-strict by mistake
+                               append-cflags '-fno-strict-aliasing'
                                filter-flags '-fstack-clash-protection' #758914
                                filter-flags '-fstack-protector*' #870136
                                filter-flags '-mfunction-return=thunk*' #878849

Reply via email to