summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2015-01-18 19:01:32 +0000
committerFabian Groffen <grobian@gentoo.org>2015-01-18 19:01:32 +0000
commitdcf5e2fb43241b6e2058083446ece6928bab4ba2 (patch)
tree32e63c8b6a69d7aedca3c6d185e82ddc5322cdb9 /dev-libs/libffi/files
parentVersion bump, fix metadata #534052, drop ppc (diff)
downloadgentoo-2-dcf5e2fb43241b6e2058083446ece6928bab4ba2.tar.gz
gentoo-2-dcf5e2fb43241b6e2058083446ece6928bab4ba2.tar.bz2
gentoo-2-dcf5e2fb43241b6e2058083446ece6928bab4ba2.zip
Allow to compile on 32-bits Darwin, bug #536764
(Portage version: 2.2.14-prefix/cvs/SunOS i386, signed Manifest commit with key 0x5F75F607C5C74E89)
Diffstat (limited to 'dev-libs/libffi/files')
-rw-r--r--dev-libs/libffi/files/libffi-3.1-darwin-x32.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/dev-libs/libffi/files/libffi-3.1-darwin-x32.patch b/dev-libs/libffi/files/libffi-3.1-darwin-x32.patch
new file mode 100644
index 000000000000..e5f100e56726
--- /dev/null
+++ b/dev-libs/libffi/files/libffi-3.1-darwin-x32.patch
@@ -0,0 +1,22 @@
+https://bugs.gentoo.org/show_bug.cgi?id=513428
+https://bugs.gentoo.org/show_bug.cgi?id=536764
+https://trac.macports.org/ticket/44170
+
+--- libffi-3.2.1/src/x86/win32.S
++++ libffi-3.2.1/src/x86/win32.S
+@@ -1184,7 +1184,6 @@
+
+ #if defined(X86_WIN32) && !defined(__OS2__)
+ .section .eh_frame,"w"
+-#endif
+ .Lframe1:
+ .LSCIE1:
+ .long .LECIE1-.LASCIE1 /* Length of Common Information Entry */
+@@ -1343,6 +1342,7 @@
+ /* End of DW_CFA_xxx CFI instructions. */
+ .align 4
+ .LEFDE5:
++#endif /* defined(X86_WIN32) && !defined(__OS2__), for the eh_frame */
+
+ #endif /* !_MSC_VER */
+