Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Feb 2013 18:20:39 +0000 (UTC)
From:      Raphael Kubo da Costa <rakuco@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r311477 - head/devel/libffi/files
Message-ID:  <201302031820.r13IKdBK083194@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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.  */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302031820.r13IKdBK083194>