commit:     0788fb38a04de20fa74a35675cdd4d1955882316
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue Nov 15 21:59:56 2022 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Nov 15 22:03:10 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0788fb38

app-emulation/wine-vanilla: 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-vanilla/wine-vanilla-9999.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/app-emulation/wine-vanilla/wine-vanilla-9999.ebuild 
b/app-emulation/wine-vanilla/wine-vanilla-9999.ebuild
index 5b5c6577712d..19bde159c386 100644
--- a/app-emulation/wine-vanilla/wine-vanilla-9999.ebuild
+++ b/app-emulation/wine-vanilla/wine-vanilla-9999.ebuild
@@ -125,7 +125,6 @@ QA_TEXTRELS="usr/lib/*/wine/i386-unix/*.so" # uses -fno-PIC 
-Wl,-z,notext
 PATCHES=(
        "${FILESDIR}"/${PN}-7.0-noexecstack.patch
        "${FILESDIR}"/${PN}-7.20-unwind.patch
-       "${FILESDIR}"/${PN}-7.21-crossflags.patch
 )
 
 pkg_pretend() {
@@ -250,6 +249,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