app-emulation/wine: Convert wine-1.9.5-multilib-portage.patch to -p1
authorNP-Hardass <NP-Hardass@gentoo.org>
Mon, 18 Apr 2016 01:33:18 +0000 (21:33 -0400)
committerNP-Hardass <NP-Hardass@gentoo.org>
Tue, 19 Apr 2016 17:07:31 +0000 (13:07 -0400)
Package-Manager: portage-2.2.26

app-emulation/wine/files/wine-1.9.5-multilib-portage.patch

index 216686533d6167d8fa9a04d1d4bbfa3e813cd0fe..c19d0d8a0b046c58d2f858141f3470394e54defd 100644 (file)
@@ -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"