summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNP-Hardass <NP-Hardass@gentoo.org>2016-04-17 21:33:18 -0400
committerNP-Hardass <NP-Hardass@gentoo.org>2016-04-19 13:07:31 -0400
commitd81328321dcf1cd1e41a9b9c5db776b521724903 (patch)
tree0bc7ce465bc18b7493380b80fcca6dbece4ac91c /app-emulation
parentapp-emulation/wine: Bump mono version in 9999 (diff)
downloadgentoo-d81328321dcf1cd1e41a9b9c5db776b521724903.tar.gz
gentoo-d81328321dcf1cd1e41a9b9c5db776b521724903.tar.bz2
gentoo-d81328321dcf1cd1e41a9b9c5db776b521724903.zip
app-emulation/wine: Convert wine-1.9.5-multilib-portage.patch to -p1
Package-Manager: portage-2.2.26
Diffstat (limited to 'app-emulation')
-rw-r--r--app-emulation/wine/files/wine-1.9.5-multilib-portage.patch13
1 files changed, 11 insertions, 2 deletions
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"