Index: branches/2017Q4/devel/libffi/Makefile =================================================================== --- branches/2017Q4/devel/libffi/Makefile (revision 456943) +++ branches/2017Q4/devel/libffi/Makefile (revision 456944) @@ -1,37 +1,37 @@ # Created by: Horance Chou # $FreeBSD$ PORTNAME= libffi PORTVERSION= 3.2.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= SOURCEWARE/${PORTNAME} MAINTAINER= zeising@FreeBSD.org COMMENT= Foreign Function Interface LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE TEST_DEPENDS= runtest:misc/dejagnu USES= libtool pathfix USE_LDCONFIG= yes GNU_CONFIGURE= yes INSTALL_TARGET= install-strip INFO= libffi PLIST_SUB= PORTVERSION=${PORTVERSION} TEST_TARGET= check post-patch: @${REINPLACE_CMD} -e 's| -Wno-psabi||g' \ ${WRKSRC}/testsuite/lib/libffi.exp post-install: @${LN} -sf ../lib/libffi-${PORTVERSION}/include/ffi.h \ ${STAGEDIR}${PREFIX}/include/ @${LN} -sf ../lib/libffi-${PORTVERSION}/include/ffitarget.h \ ${STAGEDIR}${PREFIX}/include/ .include Index: branches/2017Q4/devel/libffi/files/patch-configure =================================================================== --- branches/2017Q4/devel/libffi/files/patch-configure (revision 456943) +++ branches/2017Q4/devel/libffi/files/patch-configure (revision 456944) @@ -1,11 +1,124 @@ ---- configure.orig 2015-01-01 10:56:10 UTC +--- configure.orig 2014-11-12 11:59:57 UTC +++ configure @@ -17221,7 +17221,7 @@ case "$host" in mips-sgi-irix5.* | mips-sgi-irix6.* | mips*-*-rtems*) TARGET=MIPS; TARGETDIR=mips ;; - mips*-*linux* | mips*-*-openbsd*) + mips*-*linux* | mips*-*-openbsd* | mips*-*-freebsd*) # Support 128-bit long double for NewABI. HAVE_LONG_DOUBLE='defined(__mips64)' TARGET=MIPS; TARGETDIR=mips +@@ -17255,6 +17255,10 @@ case "$host" in + TARGET=POWERPC_FREEBSD; TARGETDIR=powerpc + HAVE_LONG_DOUBLE_VARIANT=1 + ;; ++ powerpcspe-*-freebsd*) ++ TARGET=POWERPC_FREEBSD; TARGETDIR=powerpc ++ CFLAGS="$CFLAGS -D__NO_FPRS__" ++ ;; + powerpc64-*-freebsd*) + TARGET=POWERPC; TARGETDIR=powerpc + ;; +@@ -18289,7 +18293,8 @@ $as_echo "#define HAVE_AS_CFI_PSEUDO_OP 1" >>confdefs. + fi + + +-if test x$TARGET = xSPARC; then ++case "$TARGET" in ++ SPARC) + { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler and linker support unaligned pc related relocs" >&5 + $as_echo_n "checking assembler and linker support unaligned pc related relocs... " >&6; } + if ${libffi_cv_as_sparc_ua_pcrel+:} false; then : +@@ -18363,9 +18368,9 @@ $as_echo "$libffi_cv_as_register_pseudo_op" >&6; } + $as_echo "#define HAVE_AS_REGISTER_PSEUDO_OP 1" >>confdefs.h + + fi +-fi ++ ;; + +-if test x$TARGET = xX86 || test x$TARGET = xX86_WIN32 || test x$TARGET = xX86_64; then ++ X86*) + { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler supports pc related relocs" >&5 + $as_echo_n "checking assembler supports pc related relocs... " >&6; } + if ${libffi_cv_as_x86_pcrel+:} false; then : +@@ -18386,77 +18391,8 @@ $as_echo "$libffi_cv_as_x86_pcrel" >&6; } + $as_echo "#define HAVE_AS_X86_PCREL 1" >>confdefs.h + + fi +- +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler .ascii pseudo-op support" >&5 +-$as_echo_n "checking assembler .ascii pseudo-op support... " >&6; } +-if ${libffi_cv_as_ascii_pseudo_op+:} false; then : +- $as_echo_n "(cached) " >&6 +-else +- +- libffi_cv_as_ascii_pseudo_op=unknown +- # Check if we have .ascii +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- +-int +-main () +-{ +-asm (".ascii \\"string\\""); +- ; +- return 0; +-} +-_ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : +- libffi_cv_as_ascii_pseudo_op=yes +-else +- libffi_cv_as_ascii_pseudo_op=no +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +- +-fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libffi_cv_as_ascii_pseudo_op" >&5 +-$as_echo "$libffi_cv_as_ascii_pseudo_op" >&6; } +- if test "x$libffi_cv_as_ascii_pseudo_op" = xyes; then +- +-$as_echo "#define HAVE_AS_ASCII_PSEUDO_OP 1" >>confdefs.h +- +- fi +- +- { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler .string pseudo-op support" >&5 +-$as_echo_n "checking assembler .string pseudo-op support... " >&6; } +-if ${libffi_cv_as_string_pseudo_op+:} false; then : +- $as_echo_n "(cached) " >&6 +-else +- +- libffi_cv_as_string_pseudo_op=unknown +- # Check if we have .string +- cat confdefs.h - <<_ACEOF >conftest.$ac_ext +-/* end confdefs.h. */ +- +-int +-main () +-{ +-asm (".string \\"string\\""); +- ; +- return 0; +-} +-_ACEOF +-if ac_fn_c_try_compile "$LINENO"; then : +- libffi_cv_as_string_pseudo_op=yes +-else +- libffi_cv_as_string_pseudo_op=no +-fi +-rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext +- +-fi +-{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $libffi_cv_as_string_pseudo_op" >&5 +-$as_echo "$libffi_cv_as_string_pseudo_op" >&6; } +- if test "x$libffi_cv_as_string_pseudo_op" = xyes; then +- +-$as_echo "#define HAVE_AS_STRING_PSEUDO_OP 1" >>confdefs.h +- +- fi +-fi ++ ;; ++esac + + # On PaX enable kernels that have MPROTECT enable we can't use PROT_EXEC. + # Check whether --enable-pax_emutramp was given. Index: branches/2017Q4 =================================================================== --- branches/2017Q4 (revision 456943) +++ branches/2017Q4 (revision 456944) Property changes on: branches/2017Q4 ___________________________________________________________________ Modified: svn:mergeinfo ## -0,0 +0,1 ## Merged /head:r456663