FreeBSD Bugzilla – Attachment 111254 Details for
Bug 152480
[Patch] fix build of devel/libffi with clang on amd64
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
libffi-clang.diff
libffi-clang.diff (text/plain), 1.06 KB, created by
Koop Mast
on 2010-11-22 14:40:12 UTC
(
hide
)
Description:
libffi-clang.diff
Filename:
MIME Type:
Creator:
Koop Mast
Created:
2010-11-22 14:40:12 UTC
Size:
1.06 KB
patch
obsolete
>Index: devel/libffi/files/patch-configure >=================================================================== >RCS file: /home/pcvs/ports/devel/libffi/files/patch-configure,v >retrieving revision 1.1 >diff -a -u -r1.1 patch-configure >--- devel/libffi/files/patch-configure 18 Jul 2010 21:43:19 -0000 1.1 >+++ devel/libffi/files/patch-configure 22 Nov 2010 14:07:36 -0000 >@@ -1,5 +1,5 @@ >---- configure.orig 2010-06-03 20:49:28.000000000 +0000 >-+++ configure 2010-06-03 20:50:18.000000000 +0000 >+--- configure.orig 2010-11-22 12:53:14.000000000 +0100 >++++ configure 2010-11-22 12:53:26.000000000 +0100 > @@ -12231,6 +12231,9 @@ > powerpc-*-freebsd*) > TARGET=POWERPC_FREEBSD; TARGETDIR=powerpc >@@ -10,5 +10,12 @@ > powerpc*-*-rtems*) > TARGET=POWERPC; TARGETDIR=powerpc > ;; >- >- >+@@ -14484,7 +14487,7 @@ >+ >+ libffi_cv_as_x86_pcrel=yes >+ echo '.text; foo: nop; .data; .long foo-.; .text' > conftest.s >+- if $CC $CFLAGS -c conftest.s 2>&1 | grep -i warning > /dev/null; then >++ if $CC -c conftest.s 2>&1 | grep -i warning > /dev/null; then >+ libffi_cv_as_x86_pcrel=no >+ fi >+
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 152480
: 111254