diff options
author | Raphael Kubo da Costa <rakuco@FreeBSD.org> | 2013-02-03 18:20:38 +0000 |
---|---|---|
committer | Raphael Kubo da Costa <rakuco@FreeBSD.org> | 2013-02-03 18:20:38 +0000 |
commit | 59a5c26c67f2ade03e9da562f97d0916617db045 (patch) | |
tree | 98143ddd0bd6bbf371fc80b71417bdb3ed198447 /devel/libffi | |
parent | 3503833535d553b225288a0da807dc4ec028d3fa (diff) | |
download | ports-59a5c26c67f2ade03e9da562f97d0916617db045.tar.gz ports-59a5c26c67f2ade03e9da562f97d0916617db045.zip |
Notes
Diffstat (limited to 'devel/libffi')
-rw-r--r-- | devel/libffi/files/patch-src__powerpc_ffi.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/devel/libffi/files/patch-src__powerpc_ffi.c b/devel/libffi/files/patch-src__powerpc_ffi.c new file mode 100644 index 000000000000..1838cd58a9ca --- /dev/null +++ b/devel/libffi/files/patch-src__powerpc_ffi.c @@ -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. */ |