svn commit: r311477 - head/devel/libffi/files
Raphael Kubo da Costa
rakuco at FreeBSD.org
Sun Feb 3 18:20:39 UTC 2013
Author: rakuco
Date: Sun Feb 3 18:20:38 2013
New Revision: 311477
URL: http://svnweb.freebsd.org/changeset/ports/311477
Log:
Fix the build on PowerPC.
andreast@ said he will upstream his patch ASAP.
PR: ports/175781
Submitted by: andreast
Added:
head/devel/libffi/files/patch-src__powerpc_ffi.c (contents, props changed)
Added: head/devel/libffi/files/patch-src__powerpc_ffi.c
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/libffi/files/patch-src__powerpc_ffi.c Sun Feb 3 18:20:38 2013 (r311477)
@@ -0,0 +1,14 @@
+--- src/powerpc/ffi.c.orig 2013-02-02 17:22:50.000000000 +0100
++++ src/powerpc/ffi.c 2013-02-02 15:30:37.000000000 +0100
+@@ -664,9 +664,11 @@
+ switch (type)
+ {
+ #ifndef __NO_FPRS__
++#if FFI_TYPE_LONGDOUBLE != FFI_TYPE_DOUBLE
+ case FFI_TYPE_LONGDOUBLE:
+ flags |= FLAG_RETURNS_128BITS;
+ /* Fall through. */
++#endif
+ case FFI_TYPE_DOUBLE:
+ flags |= FLAG_RETURNS_64BITS;
+ /* Fall through. */
More information about the svn-ports-head
mailing list