From d81328321dcf1cd1e41a9b9c5db776b521724903 Mon Sep 17 00:00:00 2001 From: NP-Hardass Date: Sun, 17 Apr 2016 21:33:18 -0400 Subject: app-emulation/wine: Convert wine-1.9.5-multilib-portage.patch to -p1 Package-Manager: portage-2.2.26 --- app-emulation/wine/files/wine-1.9.5-multilib-portage.patch | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'app-emulation') diff --git a/app-emulation/wine/files/wine-1.9.5-multilib-portage.patch b/app-emulation/wine/files/wine-1.9.5-multilib-portage.patch index 216686533d61..c19d0d8a0b04 100644 --- a/app-emulation/wine/files/wine-1.9.5-multilib-portage.patch +++ b/app-emulation/wine/files/wine-1.9.5-multilib-portage.patch @@ -1,5 +1,14 @@ ---- configure.ac.orig 2016-03-05 20:53:50.574628728 -0500 -+++ configure.ac 2016-03-05 20:57:54.945617833 -0500 +https://bugs.gentoo.org/show_bug.cgi?id=395615 + +Explicitly add the required -m32/m64 to *FLAGS; this overrides any +arch-specific -m* flags that may have been appended by multilib-portage. + +Even though -m32/m64 is now added to *FLAGS, -m32/m64 still has to be +explicitly added to CC and CXX due to wine's build system. For example, +winegcc saves the build-time value of CC and uses it at runtime. + +--- a/configure.ac 2016-03-05 20:53:50.574628728 -0500 ++++ b/configure.ac 2016-03-05 20:57:54.945617833 -0500 @@ -141,6 +141,9 @@ then CC="$CC -m32" -- cgit v1.2.3-65-gdbad