* [gentoo-commits] gentoo-x86 commit in dev-libs/libffi/files: libffi-3.0.8-fbsd.patch
@ 2009-09-23 19:15 Alexis Ballier (aballier)
0 siblings, 0 replies; only message in thread
From: Alexis Ballier (aballier) @ 2009-09-23 19:15 UTC (permalink / raw
To: gentoo-commits
aballier 09/09/23 19:15:36
Added: libffi-3.0.8-fbsd.patch
Log:
Fix detection and test on FreeBSD and keyword it.
(Portage version: 2.2_rc41/cvs/Linux x86_64)
Revision Changes Path
1.1 dev-libs/libffi/files/libffi-3.0.8-fbsd.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libffi/files/libffi-3.0.8-fbsd.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-libs/libffi/files/libffi-3.0.8-fbsd.patch?rev=1.1&content-type=text/plain
Index: libffi-3.0.8-fbsd.patch
===================================================================
Index: libffi-3.0.8/src/x86/ffi.c
===================================================================
--- libffi-3.0.8.orig/src/x86/ffi.c
+++ libffi-3.0.8/src/x86/ffi.c
@@ -124,7 +124,7 @@ ffi_status ffi_prep_cif_machdep(ffi_cif
#ifdef X86
case FFI_TYPE_STRUCT:
#endif
-#if defined(X86) || defined(X86_DARWIN)
+#if defined(X86) || defined(X86_DARWIN) || defined(X86_FREEBSD)
case FFI_TYPE_UINT8:
case FFI_TYPE_UINT16:
case FFI_TYPE_SINT8:
Index: libffi-3.0.8/configure.ac
===================================================================
--- libffi-3.0.8.orig/configure.ac
+++ libffi-3.0.8/configure.ac
@@ -71,7 +71,7 @@ case "$host" in
TARGET=PA_HPUX; TARGETDIR=pa
;;
- i386-*-freebsd* | i386-*-openbsd*)
+ i?86-*-freebsd* | i?86-*-openbsd*)
TARGET=X86_FREEBSD; TARGETDIR=x86
;;
i?86-win32* | i?86-*-cygwin* | i?86-*-mingw*)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-09-23 19:15 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-23 19:15 [gentoo-commits] gentoo-x86 commit in dev-libs/libffi/files: libffi-3.0.8-fbsd.patch Alexis Ballier (aballier)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox