head 1.25; access; symbols pkgsrc-2019Q4:1.24.0.36 pkgsrc-2019Q4-base:1.24 pkgsrc-2019Q3:1.24.0.32 pkgsrc-2019Q3-base:1.24 pkgsrc-2019Q2:1.24.0.30 pkgsrc-2019Q2-base:1.24 pkgsrc-2019Q1:1.24.0.28 pkgsrc-2019Q1-base:1.24 pkgsrc-2018Q4:1.24.0.26 pkgsrc-2018Q4-base:1.24 pkgsrc-2018Q3:1.24.0.24 pkgsrc-2018Q3-base:1.24 pkgsrc-2018Q2:1.24.0.22 pkgsrc-2018Q2-base:1.24 pkgsrc-2018Q1:1.24.0.20 pkgsrc-2018Q1-base:1.24 pkgsrc-2017Q4:1.24.0.18 pkgsrc-2017Q4-base:1.24 pkgsrc-2017Q3:1.24.0.16 pkgsrc-2017Q3-base:1.24 pkgsrc-2017Q2:1.24.0.12 pkgsrc-2017Q2-base:1.24 pkgsrc-2017Q1:1.24.0.10 pkgsrc-2017Q1-base:1.24 pkgsrc-2016Q4:1.24.0.8 pkgsrc-2016Q4-base:1.24 pkgsrc-2016Q3:1.24.0.6 pkgsrc-2016Q3-base:1.24 pkgsrc-2016Q2:1.24.0.4 pkgsrc-2016Q2-base:1.24 pkgsrc-2016Q1:1.24.0.2 pkgsrc-2016Q1-base:1.24 pkgsrc-2015Q4:1.23.0.10 pkgsrc-2015Q4-base:1.23 pkgsrc-2015Q3:1.23.0.8 pkgsrc-2015Q3-base:1.23 pkgsrc-2015Q2:1.23.0.6 pkgsrc-2015Q2-base:1.23 pkgsrc-2015Q1:1.23.0.4 pkgsrc-2015Q1-base:1.23 pkgsrc-2014Q4:1.23.0.2 pkgsrc-2014Q4-base:1.23 pkgsrc-2014Q3:1.20.0.4 pkgsrc-2014Q3-base:1.20 pkgsrc-2014Q2:1.20.0.2 pkgsrc-2014Q2-base:1.20 pkgsrc-2014Q1:1.19.0.2 pkgsrc-2014Q1-base:1.19 pkgsrc-2013Q4:1.18.0.2 pkgsrc-2013Q4-base:1.18 pkgsrc-2013Q3:1.17.0.4 pkgsrc-2013Q3-base:1.17 pkgsrc-2013Q2:1.17.0.2 pkgsrc-2013Q2-base:1.17 pkgsrc-2013Q1:1.16.0.2 pkgsrc-2013Q1-base:1.16 pkgsrc-2012Q4:1.14.0.2 pkgsrc-2012Q4-base:1.14 pkgsrc-2012Q3:1.13.0.2 pkgsrc-2012Q3-base:1.13 pkgsrc-2012Q2:1.12.0.2 pkgsrc-2012Q2-base:1.12 pkgsrc-2012Q1:1.11.0.10 pkgsrc-2012Q1-base:1.11 pkgsrc-2011Q4:1.11.0.8 pkgsrc-2011Q4-base:1.11 pkgsrc-2011Q3:1.11.0.6 pkgsrc-2011Q3-base:1.11 pkgsrc-2011Q2:1.11.0.4 pkgsrc-2011Q2-base:1.11 pkgsrc-2011Q1:1.11.0.2 pkgsrc-2011Q1-base:1.11 pkgsrc-2010Q4:1.10.0.2 pkgsrc-2010Q4-base:1.10 pkgsrc-2010Q3:1.9.0.6 pkgsrc-2010Q3-base:1.9 pkgsrc-2010Q2:1.9.0.4 pkgsrc-2010Q2-base:1.9 pkgsrc-2010Q1:1.9.0.2 pkgsrc-2010Q1-base:1.9 pkgsrc-2009Q4:1.8.0.6 pkgsrc-2009Q4-base:1.8 pkgsrc-2009Q3:1.8.0.4 pkgsrc-2009Q3-base:1.8 pkgsrc-2009Q2:1.8.0.2 pkgsrc-2009Q2-base:1.8 pkgsrc-2009Q1:1.7.0.2 pkgsrc-2008Q4:1.6.0.2 pkgsrc-2008Q4-base:1.6 pkgsrc-2008Q3:1.5.0.26 pkgsrc-2008Q3-base:1.5 cube-native-xorg:1.5.0.24 cube-native-xorg-base:1.5 pkgsrc-2008Q2:1.5.0.22 pkgsrc-2008Q2-base:1.5 cwrapper:1.5.0.20 pkgsrc-2008Q1:1.5.0.18 pkgsrc-2008Q1-base:1.5 pkgsrc-2007Q4:1.5.0.16 pkgsrc-2007Q4-base:1.5 pkgsrc-2007Q3:1.5.0.14 pkgsrc-2007Q3-base:1.5 pkgsrc-2007Q2:1.5.0.12 pkgsrc-2007Q2-base:1.5 pkgsrc-2007Q1:1.5.0.10 pkgsrc-2007Q1-base:1.5 pkgsrc-2006Q4:1.5.0.8 pkgsrc-2006Q4-base:1.5 pkgsrc-2006Q3:1.5.0.6 pkgsrc-2006Q3-base:1.5 pkgsrc-2006Q2:1.5.0.4 pkgsrc-2006Q2-base:1.5 pkgsrc-2006Q1:1.5.0.2 pkgsrc-2006Q1-base:1.5 pkgsrc-2005Q4:1.3.0.8 pkgsrc-2005Q4-base:1.3 pkgsrc-2005Q3:1.3.0.6 pkgsrc-2005Q3-base:1.3 pkgsrc-2005Q2:1.3.0.4 pkgsrc-2005Q2-base:1.3 pkgsrc-2005Q1:1.3.0.2 pkgsrc-2005Q1-base:1.3; locks; strict; comment @# @; 1.25 date 2020.02.26.19.15.44; author adam; state dead; branches; next 1.24; commitid rKgpRPUEjh8xAdYB; 1.24 date 2016.01.25.17.56.39; author jperkin; state Exp; branches; next 1.23; commitid sgrjfg5XtWl68lSy; 1.23 date 2014.11.19.13.49.35; author wiz; state Exp; branches; next 1.22; commitid GMUiJ11tKSrKENYx; 1.22 date 2014.11.04.21.40.05; author joerg; state Exp; branches; next 1.21; commitid FAJBGOWexhSRJUWx; 1.21 date 2014.10.28.12.51.03; author adam; state Exp; branches; next 1.20; commitid F8XYNcDfwvwA2YVx; 1.20 date 2014.06.01.03.53.03; author ryoon; state Exp; branches; next 1.19; commitid yBPXM0XG7zD5RLCx; 1.19 date 2014.02.11.07.21.28; author dholland; state Exp; branches; next 1.18; commitid hAFVo9j2WJszxEox; 1.18 date 2013.11.03.23.51.51; author jklos; state Exp; branches; next 1.17; commitid gH7v0qbaj5opeTbx; 1.17 date 2013.04.06.12.41.23; author obache; state Exp; branches; next 1.16; 1.16 date 2013.03.18.10.04.11; author jperkin; state Exp; branches; next 1.15; 1.15 date 2013.03.14.19.56.41; author drochner; state Exp; branches; next 1.14; 1.14 date 2012.10.11.19.37.48; author drochner; state Exp; branches; next 1.13; 1.13 date 2012.09.14.23.45.27; author asau; state Exp; branches; next 1.12; 1.12 date 2012.05.30.09.13.16; author jperkin; state Exp; branches; next 1.11; 1.11 date 2011.01.21.09.21.58; author tnn; state Exp; branches; next 1.10; 1.10 date 2010.11.20.08.45.12; author tsutsui; state Exp; branches; next 1.9; 1.9 date 2010.01.16.16.28.58; author asau; state Exp; branches; next 1.8; 1.8 date 2009.05.26.12.27.12; author he; state Exp; branches; next 1.7; 1.7 date 2009.04.17.22.45.52; author rh; state Exp; branches 1.7.2.1; next 1.6; 1.6 date 2008.10.11.22.33.56; author dholland; state dead; branches; next 1.5; 1.5 date 2006.02.26.19.28.28; author joerg; state Exp; branches; next 1.4; 1.4 date 2006.01.08.20.40.02; author joerg; state Exp; branches; next 1.3; 1.3 date 2005.03.07.14.54.40; author wiz; state Exp; branches; next 1.2; 1.2 date 2005.03.07.00.25.39; author wiz; state Exp; branches; next 1.1; 1.1 date 2005.03.03.09.18.47; author daniel; state Exp; branches; next ; 1.7.2.1 date 2009.04.17.22.45.52; author tron; state dead; branches; next 1.7.2.2; 1.7.2.2 date 2009.05.22.11.55.35; author tron; state Exp; branches; next 1.7.2.3; 1.7.2.3 date 2009.05.30.21.02.35; author tron; state Exp; branches; next ; desc @@ 1.25 log @libffi: updated to 3.3 libffi v3.3 * Add RISC-V support. * New API in support of GO closures. * Add IEEE754 binary128 long double support for 64-bit Power * Default to Microsoft's 64-bit long double ABI with Visual C++. * GNU compiler uses 80 bits (128 in memory) FFI_GNUW64 ABI. * Add Windows on ARM64 (WOA) support. * Add Windows 32-bit ARM support. * Raw java (gcj) API deprecated. * Add pre-built PDF documentation to source distribution. * Many new test cases and bug fixes. @ text @$NetBSD: patch-aa,v 1.24 2016/01/25 17:56:39 jperkin Exp $ Add more platforms to list which don't support writeable and executable heap. Other various platform changes. --- configure.orig 2014-11-12 11:59:57.000000000 +0000 +++ configure @@@@ -654,6 +654,8 @@@@ VAX_FALSE VAX_TRUE TILE_FALSE TILE_TRUE +VAX_FALSE +VAX_TRUE PA64_HPUX_FALSE PA64_HPUX_TRUE PA_HPUX_FALSE @@@@ -17120,7 +17122,7 @@@@ case "$host" in TARGET=FRV; TARGETDIR=frv ;; - hppa*-*-linux* | parisc*-*-linux* | hppa*-*-openbsd*) + hppa*-*-linux* | hppa*-*-netbsd* | parisc*-*-linux* | hppa*-*-openbsd*) TARGET=PA_LINUX; TARGETDIR=pa ;; hppa*64-*-hpux*) @@@@ -17218,10 +17220,10 @@@@ case "$host" in TARGET=METAG; TARGETDIR=metag ;; - mips-sgi-irix5.* | mips-sgi-irix6.* | mips*-*-rtems*) + mips*-sgi-irix5.* | mips*-sgi-irix6.* | mips*-*-rtems*) TARGET=MIPS; TARGETDIR=mips ;; - mips*-*linux* | mips*-*-openbsd*) + mips*-*linux* | mips*-*-netbsd* | mips*-*-openbsd*) # Support 128-bit long double for NewABI. HAVE_LONG_DOUBLE='defined(__mips64)' TARGET=MIPS; TARGETDIR=mips @@@@ -17251,7 +17253,7 @@@@ case "$host" in powerpc-*-aix* | rs6000-*-aix*) TARGET=POWERPC_AIX; TARGETDIR=powerpc ;; - powerpc-*-freebsd* | powerpc-*-openbsd*) + powerpc-*-freebsd* | powerpc-*-netbsd* | powerpc-*-openbsd*) TARGET=POWERPC_FREEBSD; TARGETDIR=powerpc HAVE_LONG_DOUBLE_VARIANT=1 ;; @@@@ -17266,7 +17268,7 @@@@ case "$host" in TARGET=S390; TARGETDIR=s390 ;; - sh-*-* | sh[34]*-*-*) + sh-*-* | shle-*-* | sh[34]*-*-*) TARGET=SH; TARGETDIR=sh ;; sh64-*-* | sh5*-*-*) @@@@ -17285,6 +17287,10 @@@@ case "$host" in TARGET=VAX; TARGETDIR=vax ;; + vax-*-*) + TARGET=VAX; TARGETDIR=vax + ;; + xtensa*-*) TARGET=XTENSA; TARGETDIR=xtensa ;; @@@@ -17610,6 +17616,14 @@@@ else VAX_FALSE= fi + if test x$TARGET = xVAX; then + VAX_TRUE= + VAX_FALSE='#' +else + VAX_TRUE='#' + VAX_FALSE= +fi + if test x$TARGET = xXTENSA; then XTENSA_TRUE= XTENSA_FALSE='#' @@@@ -18530,7 +18544,7 @@@@ case "$target" in $as_echo "#define FFI_EXEC_TRAMPOLINE_TABLE 1" >>confdefs.h ;; - *-apple-darwin1* | *-*-freebsd* | *-*-kfreebsd* | *-*-openbsd* | *-pc-solaris*) + *-apple-darwin1* | *-*-freebsd* | *-*-kfreebsd* | *-*-netbsd* | *-*-openbsd* | *-*-solaris*) $as_echo "#define FFI_MMAP_EXEC_WRIT 1" >>confdefs.h @@@@ -18725,11 +18739,6 @@@@ if test "x$GCC" = "xyes"; then toolexecdir="${libdir}"/gcc-lib/'$(target_alias)' toolexeclibdir="${libdir}" fi - multi_os_directory=`$CC $CFLAGS -print-multi-os-directory` - case $multi_os_directory in - .) ;; # Avoid trailing /. - ../*) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;; - esac else toolexeclibdir="${libdir}" @@@@ -19052,6 +19061,10 @@@@ if test -z "${VAX_TRUE}" && test -z "${V as_fn_error $? "conditional \"VAX\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 fi +if test -z "${VAX_TRUE}" && test -z "${VAX_FALSE}"; then + as_fn_error $? "conditional \"VAX\" was never defined. +Usually this means the macro was only invoked conditionally." "$LINENO" 5 +fi if test -z "${XTENSA_TRUE}" && test -z "${XTENSA_FALSE}"; then as_fn_error $? "conditional \"XTENSA\" was never defined. Usually this means the macro was only invoked conditionally." "$LINENO" 5 @@@@ -20749,13 +20762,13 @@@@ s/ [a-zA-Z0-9-]*-all [a-zA-Z0-9-]*-all-a /-all-all/d a\\ @@ HOST="\$(HOST)\" \\\\\\ - ; test ".\$\$HOST" = "." && HOST=$x sh $ax_enable_builddir_auxdir/config.guess $x \\\\\\ - ; BUILD=$x grep "^#### \$\$HOST " Makefile | sed -e 's/.*|//' $x \\\\\\ - ; use=$x basename "\$\@@" -all $x; n=$x echo \$\$BUILD | wc -w $x \\\\\\ - ; echo "MAKE \$\$HOST : \$\$n * \$\@@"; if test "\$\$n" -eq "0" ; then : \\\\\\ - ; BUILD=$x grep "^####.*|" Makefile |tail -1| sed -e 's/.*|//' $x ; fi \\\\\\ + ; test ".\$\$HOST" = "." && HOST="$x sh $ax_enable_builddir_auxdir/config.guess $x" \\\\\\ + ; BUILD="$x grep "^#### \$\$HOST " Makefile | sed -e 's/.*|//' $x" \\\\\\ + ; use="$x basename "\$\@@" -all $x"; n="$x echo \$\$BUILD | wc -w $x" \\\\\\ + ; echo "MAKE \$\$HOST : \$\$n * \$\@@"; if test \$\$n = "0" ; then : \\\\\\ + ; BUILD="$x grep "^####.*|" Makefile |tail -1| sed -e 's/.*|//' $x" ; fi \\\\\\ ; test ".\$\$BUILD" = "." && BUILD="." \\\\\\ - ; test "\$\$use" = "\$\@@" && BUILD=$x echo "\$\$BUILD" | tail -1 $x \\\\\\ + ; test "\$\$use" = "\$\@@" && BUILD="$x echo "\$\$BUILD" | tail -1 $x" \\\\\\ ; for i in \$\$BUILD ; do test ".\$\$i" = "." && continue \\\\\\ ; (cd "\$\$i" && test ! -f configure && \$(MAKE) \$\$use) || exit; done /dist-all *:/a\\ @ 1.24 log @Fix GNU triplet match for Solaris to indicate that writeable and executable heap is not supported. Fixes complete test failure on x86_64. Update patch offsets and comments while here. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.23 2014/11/19 13:49:35 wiz Exp $ @ 1.23 log @Update to 3.2.1: Fix for AArch64. Release as 3.2.1. Fix typo Final 3.2 changes Final 3.2 changes Mention OpenRISC Merge pull request #134 from s-macke/openrisc Add OpenRISC support Only run the complex type tests on supported platforms. Add OpenRISC support This patch adds support for the OpenRISC architecture. (http://opencores.org/or1k/Main_Page) This patch has been tested under Linux with QEMU-user emulation support. - 32 Bit - big endian - delayed instructions This is the only available configuration under Linux. The description of the ABI can be found on the official website. Is passes the testsuite except of the unwindtest_ffi_call.cc testcase, which seems to be a problem of gcc and not libffi. Some testcases of the gcc testsuite still fail. Signed-off-by: Sebastian Macke Add complex type support. Mostly broken right now Compile tests with -Wno-psabi when using GCC Update version to 3.2 More README updates for 3.2 Update release notes. 2014-05-11 Bernd Edlinger Fix current cygwin-64 build problems. * src/java_raw_api.c: Remove if !defined(FFI_NO_RAW_API). * src/x86/ffi.c: Add if defined(__CYGWIN__). * src/x86/win64.S (ffi_closure_win64, ffi_call_win64): Added handling for FFI_TYPE_UINT64, FFI_TYPE_POINTER and FFI_TYPE_INT. Added SEH information. Fixed formatting. 2014-09-10 Jakub Jelinek * src/powerpc/linux64.S: Emit .note.GNU-stack even when POWERPC64 is not defined. * src/powerpc/linux64_closure.S: Likewise. Also test _CALL_ELF == 2. Fix -Werror=declaration-after-statement problem 2014-07-22 Dominik Vogt * src/types.c (FFI_TYPEDEF, FFI_NONCONST_TYPEDEF): Merge the macros by adding another argument that controls whether the result is const or not (FFI_LDBL_CONST): Temporary macro to reduce ifdef confusion * src/prep_cif.c (ffi_prep_cif_core): Replace list of systems with new macro FFI_TARGET_SPECIFIC_STACK_SPACE_ALLOCATION * src/pa/ffitarget.h (FFI_TARGET_SPECIFIC_STACK_SPACE_ALLOCATION): Define. * src/s390/ffitarget.h (FFI_TARGET_SPECIFIC_STACK_SPACE_ALLOCATION): Define. * src/x86/ffitarget.h (FFI_TARGET_SPECIFIC_STACK_SPACE_ALLOCATION): Define. 2014-07-22 Dominik Vogt * doc/libffi.texi (Primitive Types): Document ffi_type_complex_float, ffi_type_complex_double and ffi_type_complex_longdouble (Complex Types): New subsection. (Complex Type Example): Ditto. * testsuite/libffi.call/cls_align_complex_double.c: New FFI_TYPE_COMPLEX test. * testsuite/libffi.call/cls_align_complex_float.c: Ditto. * testsuite/libffi.call/cls_align_complex_longdouble.c: Ditto. * testsuite/libffi.call/cls_complex_double.c: Ditto. * testsuite/libffi.call/cls_complex_float.c: Ditto. * testsuite/libffi.call/cls_complex_longdouble.c: Ditto. * testsuite/libffi.call/cls_complex_struct_double.c: Ditto. * testsuite/libffi.call/cls_complex_struct_float.c: Ditto. * testsuite/libffi.call/cls_complex_struct_longdouble.c: Ditto. * testsuite/libffi.call/cls_complex_va_double.c: Ditto. * testsuite/libffi.call/cls_complex_va_float.c: Ditto. * testsuite/libffi.call/cls_complex_va_longdouble.c: Ditto. * testsuite/libffi.call/complex_double.c: Ditto. * testsuite/libffi.call/complex_defs_double.c: Ditto. * testsuite/libffi.call/complex_float.c: Ditto. * testsuite/libffi.call/complex_defs_float.c: Ditto. * testsuite/libffi.call/complex_longdouble.c: Ditto. * testsuite/libffi.call/complex_defs_longdouble.c: Ditto. * testsuite/libffi.call/complex_int.c: Ditto. * testsuite/libffi.call/many_complex_double.c: Ditto. * testsuite/libffi.call/many_complex_float.c: Ditto. * testsuite/libffi.call/many_complex_longdouble.c: Ditto. * testsuite/libffi.call/return_complex1_double.c: Ditto. * testsuite/libffi.call/return_complex1_float.c: Ditto. * testsuite/libffi.call/return_complex1_longdouble.c: Ditto. * testsuite/libffi.call/return_complex2_double.c: Ditto. * testsuite/libffi.call/return_complex2_float.c: Ditto. * testsuite/libffi.call/return_complex2_longdouble.c: Ditto. * testsuite/libffi.call/return_complex_double.c: Ditto. * testsuite/libffi.call/return_complex_float.c: Ditto. * testsuite/libffi.call/return_complex_longdouble.c: Ditto. * src/raw_api.c (ffi_raw_to_ptrarray): Handle FFI_TYPE_COMPLEX (ffi_ptrarray_to_raw): Ditto. * src/prep_cif.c (ffi_prep_cif_core): Abort if FFI_TYPE_COMPLEX is not implemented in libffi for the target. * src/java_raw_api.c (ffi_java_raw_size): FFI_TYPE_COMPLEX not supported yet (abort). (ffi_java_raw_to_ptrarray): Ditto. (ffi_java_rvalue_to_raw): Ditto. (ffi_java_raw_to_rvalue): Ditto. * src/debug.c (ffi_type_test): Add debug tests for complex types. * include/ffi.h.in (FFI_TYPE_COMPLEX): Add new FFI_TYPE_COMPLEX. (FFI_TYPE_LAST): Bump. (ffi_type_complex_float): Add new ffi_type_.... (ffi_type_complex_double): Ditto. (ffi_type_complex_longdouble): Ditto. 2014-07-22 Dominik Vogt * src/s390/ffitarget.h (FFI_TARGET_HAS_COMPLEX_TYPE): Define to provide FFI_TYPE_COMPLEX support. * src/s390/ffi.c (ffi_check_struct_type): Implement FFI_TYPE_COMPLEX (ffi_prep_args): Ditto. (ffi_prep_cif_machdep): Ditto. (ffi_closure_helper_SYSV): Ditto. Merge pull request #132 from nielsAD/master Pascal and Register calling convention support on x86 Merge pull request #130 from frida/fix/darwin-aarch64-float-alignment Fix alignment of FFI_TYPE_FLOAT for Apple's ARM64 ABI Merge pull request #129 from frida/fix/darwin-aarch64-cif-prep Fix non-variadic CIF initialization for Apple/ARM64 Merge pull request #124 from knuesel/master Fix issue with builddir when calling configure with absolute path Merge pull request #123 from ehsan/clang-cl Add support for building with clang-cl Determine whether register arguments (THISCALL/FASTCALL/REGISTER) are really passed via register to closures. Use stack if not. Fixed THISCALL/FASTCALL closures and added basic support for PASCAL/REGISTER closures. Support for calling functions with PASCAL and REGISTER calling conventions on x86 Windows/Linux. Also changed indentation to be more consistent throughout the (adjusted) files. Enable forcing the usage of the static CRT in libffi's msvc wrapper This is required for AddressSanitizer builds with clang-cl. Fix alignment of FFI_TYPE_FLOAT for Apple's ARM64 ABI Fix non-variadic CIF initialization for Apple/ARM64 Turns out `aarch64_nfixedargs` wasn't initialized in the non-variadic case, resulting in undefined behavior when allocating arguments. Fix issue with builddir when calling configure with absolute path Add support for building with clang-cl Remove compiler warning Fix paths in libffi.pc.in Merge pull request #122 from rvandermeulen/1014976 Don't make --enable-debug imply using the debug CRT in libffi Bug 1014976 - Don't make --enable-debug imply using the debug CRT in libffi. Prepare for libffi 3.1.1 Add missing GNU stack markings in win32.S Fix typo Update current version. Increment libtool version number Merge pull request #120 from l0kod/tmpfile Create temporary file with O_TMPFILE and O_CLOEXEC when available closures: Check for mkostemp(3) closures: Create temporary file with O_TMPFILE and O_CLOEXEC when available The open_temp_exec_file_dir function can create a temporary file without file system accessible link. If the O_TMPFILE flag is not defined (old Linux kernel or libc) the behavior is unchanged. The open_temp_exec_file_name function now need a new argument "flags" (like O_CLOEXEC) used for temporary file creation. The O_TMPFILE flag allow temporary file creation without race condition. This feature/fix prevent another process to access the (future) executable file from the file system. The O_CLOEXEC flag automatically close the temporary file for any execve. This avoid transmitting (executable) file descriptor to a child process. @ text @d1 4 a4 1 $NetBSD: patch-aa,v 1.22 2014/11/04 21:40:05 joerg Exp $ d88 1 a88 1 + *-apple-darwin1* | *-*-freebsd* | *-*-kfreebsd* | *-*-netbsd* | *-*-openbsd* | *-pc-solaris*) @ 1.22 log @pkg-config always uses ${} for variable expansion, not $(). Make sure the correct use ends up in libffi.pc as libdir might be set to an entirely different value by whoever is using the file. Unbreaks Mozilla packages that ended up with wrkdir references via rpath. Bump revision. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.21 2014/10/28 12:51:03 adam Exp $ d3 1 a3 1 --- configure.orig 2014-05-19 13:44:03.000000000 +0000 d14 1 a14 1 @@@@ -17199,7 +17201,7 @@@@ case "$host" in d23 1 a23 1 @@@@ -17297,10 +17299,10 @@@@ case "$host" in d36 1 a36 1 @@@@ -17326,7 +17328,7 @@@@ case "$host" in d45 1 a45 1 @@@@ -17341,7 +17343,7 @@@@ case "$host" in d54 1 a54 1 @@@@ -17360,6 +17362,10 @@@@ case "$host" in d65 1 a65 1 @@@@ -17677,6 +17683,14 @@@@ else d80 1 a80 1 @@@@ -18597,7 +18611,7 @@@@ case "$target" in d89 3 a91 10 @@@@ -18787,19 +18801,14 @@@@ if test "x$GCC" = "xyes"; then if test -n "$with_cross_host" && test x"$with_cross_host" != x"no"; then toolexecdir='$(exec_prefix)/$(target_alias)' - toolexeclibdir='$(toolexecdir)/lib' + toolexeclibdir='${toolexecdir}/lib' else toolexecdir='$(libdir)/gcc-lib/$(target_alias)' - toolexeclibdir='$(libdir)' + toolexeclibdir='${libdir}' d100 2 a101 6 - toolexeclibdir='$(libdir)' + toolexeclibdir='${libdir}' fi @@@@ -19115,6 +19124,10 @@@@ if test -z "${VAX_TRUE}" && test -z "${V d112 1 a112 1 @@@@ -20813,13 +20826,13 @@@@ s/ [a-zA-Z0-9-]*-all [a-zA-Z0-9-]*-all-a @ 1.21 log @Changes 3.1: Add AArch64 (ARM64) iOS support. Add Nios II support. Add m88k and DEC VAX support. Add support for stdcall, thiscall, and fastcall on non-Windows 32-bit x86 targets such as Linux. Various Android, MIPS N32, x86, FreeBSD and UltraSPARC IIi fixes. Make the testsuite more robust: eliminate several spurious failures, and respect the $CC and $CXX environment variables. Archive off the manually maintained ChangeLog in favor of git log. @ text @d1 1 a1 1 $NetBSD$ d89 7 a95 1 @@@@ -18792,11 +18806,6 @@@@ if test "x$GCC" = "xyes"; then d97 2 a98 1 toolexeclibdir='$(libdir)' d107 5 a111 1 toolexeclibdir='$(libdir)' @ 1.20 log @Fix build under OpenBSD 5.5 A patch from upstream, https://github.com/atgreen/libffi/commit/76d19d004e36e99d261ee78261e2f52cea5e4ab1#diff-e2d5a00791bce9a01f99bc6fd613a39d @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.19 2014/02/11 07:21:28 dholland Exp $ d3 1 a3 4 * unwind: from https://github.com/atgreen/libffi/commit/76d19d004e36e99d261ee78261e2f52cea5e4ab1#diff-e2d5a00791bce9a01f99bc6fd613a39d Fix build under OpenBSD 5.5 --- configure.orig 2013-03-17 22:36:19.000000000 +0000 d5 2 a6 2 @@@@ -651,6 +651,8 @@@@ XTENSA_FALSE XTENSA_TRUE d14 1 a14 1 @@@@ -13331,7 +13333,7 @@@@ case "$host" in d23 1 a23 1 @@@@ -13425,10 +13427,10 @@@@ case "$host" in d31 2 a32 2 - mips*-*-linux* | mips*-*-openbsd*) + mips*-*-linux* | mips*-*-netbsd* | mips*-*-openbsd*) d36 1 a36 1 @@@@ -13449,7 +13451,7 @@@@ case "$host" in d43 1 d45 1 a45 2 powerpc64-*-freebsd*) @@@@ -13463,7 +13465,7 @@@@ case "$host" in d54 3 a56 3 @@@@ -13478,6 +13480,10 @@@@ case "$host" in TARGET=TILE; TARGETDIR=tile ;; d65 2 a66 2 @@@@ -13747,6 +13753,14 @@@@ else TILE_FALSE= d80 1 a80 1 @@@@ -14661,7 +14675,7 @@@@ case "$target" in d89 1 a89 40 @@@@ -14678,16 +14692,32 @@@@ fi if test x$TARGET = xX86_64; then - { $as_echo "$as_me:${as_lineno-$LINENO}: checking assembler supports unwind section type" >&5 -$as_echo_n "checking assembler supports unwind section type... " >&6; } + { $as_echo "$as_me:${as_lineno-$LINENO}: checking toolchain supports unwind section type" >&5 +$as_echo_n "checking toolchain supports unwind section type... " >&6; } if ${libffi_cv_as_x86_64_unwind_section_type+:} false; then : $as_echo_n "(cached) " >&6 else - libffi_cv_as_x86_64_unwind_section_type=yes - echo '.section .eh_frame,"a",@@unwind' > conftest.s - if $CC $CFLAGS -c conftest.s 2>&1 | grep -i warning > /dev/null; then - libffi_cv_as_x86_64_unwind_section_type=no + cat > conftest1.s << EOF +.text +.globl foo +foo: +jmp bar +.section .eh_frame,"a",@@unwind +bar: +EOF + + cat > conftest2.c << EOF +extern void foo(); +int main(){foo();} +EOF + + libffi_cv_as_x86_64_unwind_section_type=no + # we ensure that we can compile _and_ link an assembly file containing an @@unwind section + # since the compiler can support it and not the linker (ie old binutils) + if $CC -Wa,--fatal-warnings $CFLAGS -c conftest1.s > /dev/null 2>&1 && \ + $CC conftest2.c conftest1.o > /dev/null 2>&1 ; then + libffi_cv_as_x86_64_unwind_section_type=yes fi fi @@@@ -14840,11 +14870,6 @@@@ if test "x$GCC" = "xyes"; then d93 1 a93 1 - multi_os_directory=`$CC -print-multi-os-directory` d101 2 a102 2 @@@@ -15135,6 +15160,10 @@@@ if test -z "${TILE_TRUE}" && test -z "${ as_fn_error $? "conditional \"TILE\" was never defined. d112 1 a112 1 @@@@ -16734,13 +16763,13 @@@@ s/ [a-zA-Z0-9-]*-all [a-zA-Z0-9-]*-all-a @ 1.19 log @Fixes for IRIX from Staffan Thomén in PR 48587. This is all of it except for one bit pertaining to libtool, which is going to require some additional flailing. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.18 2013/11/03 23:51:51 jklos Exp $ d3 4 a6 1 --- configure.orig 2014-02-11 07:10:47.000000000 +0000 d92 40 a131 1 @@@@ -14840,11 +14854,6 @@@@ if test "x$GCC" = "xyes"; then d143 1 a143 1 @@@@ -15135,6 +15144,10 @@@@ if test -z "${TILE_TRUE}" && test -z "${ d154 1 a154 1 @@@@ -16734,13 +16749,13 @@@@ s/ [a-zA-Z0-9-]*-all [a-zA-Z0-9-]*-all-a @ 1.18 log @Add libffi support for VAX and m88k. Tested with netbsd-6 on VAX. From Miod Vallat: https://sourceware.org/ml/libffi-discuss/2013/msg00165.html @ text @d1 1 a1 1 $NetBSD$ d3 1 a3 1 --- configure.orig 2013-03-17 22:36:19.000000000 +0000 d23 6 a28 2 @@@@ -13428,7 +13430,7 @@@@ case "$host" in mips-sgi-irix5.* | mips-sgi-irix6.* | mips*-*-rtems*) d112 1 a112 1 @@@@ -16734,13 +16751,13 @@@@ s/ [a-zA-Z0-9-]*-all [a-zA-Z0-9-]*-all-a @ 1.17 log @Update libffi to 3.0.13. 3.0.13 Mar-17-13 Add Meta support. Add missing Moxie bits. Fix stack alignment bug on 32-bit x86. Build fix for m68000 targets. Build fix for soft-float Power targets. Fix the install dir location for some platforms when building with GCC (OS X, Solaris). Fix Cygwin regression. @ text @d1 1 a1 5 $NetBSD: patch-aa,v 1.16 2013/03/18 10:04:11 jperkin Exp $ Extend which ports we accept to deal with. Disable multilib directories. d5 10 a14 1 @@@@ -13331,7 +13331,7 @@@@ case "$host" in d23 1 a23 1 @@@@ -13428,7 +13428,7 @@@@ case "$host" in d32 1 a32 1 @@@@ -13449,7 +13449,7 @@@@ case "$host" in d41 1 a41 1 @@@@ -13463,7 +13463,7 @@@@ case "$host" in d50 27 a76 1 @@@@ -14661,7 +14661,7 @@@@ case "$target" in d85 1 a85 1 @@@@ -14840,11 +14840,6 @@@@ if test "x$GCC" = "xyes"; then d97 12 a108 1 @@@@ -16734,13 +16729,13 @@@@ s/ [a-zA-Z0-9-]*-all [a-zA-Z0-9-]*-all-a @ 1.16 log @Disable multilib directories. Fixes packaging issues on at least SunOS 64-bit, possibly others. Patch from obache. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.15 2013/03/14 19:56:41 drochner Exp $ d7 1 a7 1 --- configure.orig 2013-02-11 19:24:24.000000000 +0000 d9 1 a9 1 @@@@ -13329,7 +13329,7 @@@@ case "$host" in d18 1 a18 1 @@@@ -13422,7 +13422,7 @@@@ case "$host" in d27 1 a27 1 @@@@ -13443,7 +13443,7 @@@@ case "$host" in d36 1 a36 1 @@@@ -13457,7 +13457,7 @@@@ case "$host" in d45 1 a45 1 @@@@ -14647,7 +14647,7 @@@@ case "$target" in d54 1 a54 1 @@@@ -14826,11 +14826,6 @@@@ if test "x$GCC" = "xyes"; then d61 1 a61 1 - *) toolexeclibdir=$toolexeclibdir/$multi_os_directory ;; d66 1 a66 1 @@@@ -16716,13 +16711,13 @@@@ s/ [a-zA-Z0-9-]*-all [a-zA-Z0-9-]*-all-a @ 1.15 log @update to 3.0.12 changes: -bugfixes -more compilers/CPUs supported @ text @d1 1 a1 1 $NetBSD$ d5 2 d54 13 a66 1 @@@@ -16716,13 +16716,13 @@@@ s/ [a-zA-Z0-9-]*-all [a-zA-Z0-9-]*-all-a @ 1.14 log @fix closures on NetBSD/amd64 and possibly more NetBSD platforms where malloc'd memory is not automatically executable bump PKGREV @ text @d5 1 a5 1 --- configure.orig 2012-04-12 03:13:17.000000000 +0000 d7 1 a7 1 @@@@ -13158,7 +13158,7 @@@@ case "$host" in d16 1 a16 1 @@@@ -13208,7 +13208,7 @@@@ case "$host" in d25 1 a25 1 @@@@ -13233,7 +13233,7 @@@@ case "$host" in d34 1 a34 1 @@@@ -13247,7 +13247,7 @@@@ case "$host" in d43 1 a43 1 @@@@ -14402,7 +14402,7 @@@@ case "$target" in d47 2 a48 2 - *-apple-darwin1[10]* | *-*-freebsd* | *-*-kfreebsd* | *-*-openbsd* | *-pc-solaris*) + *-apple-darwin1[10]* | *-*-freebsd* | *-*-kfreebsd* | *-*-netbsd* | *-*-openbsd* | *-pc-solaris*) d52 1 a52 1 @@@@ -16446,13 +16448,13 @@@@ s/ [a-zA-Z0-9-]*-all [a-zA-Z0-9-]*-all-a @ 1.13 log @Update to libffi 3.0.11 3.0.11 Apr-11-12 Add support for variadic functions (ffi_prep_cif_var). Add Linux/x32 support. Add thiscall, fastcall and MSVC cdecl support on Windows. Add Amiga and newer MacOS support. Add m68k FreeMiNT support. Integration with iOS' xcode build tools. Fix Octeon and MC68881 support. Fix code pessimizations. Lots of build fixes. 3.0.10 Aug-23-11 Add support for Apple's iOS. Add support for ARM VFP ABI. Add RTEMS support for MIPS and M68K. Fix instruction cache clearing problems on ARM and SPARC. Fix the N64 build on mips-sgi-irix6.5. Enable builds with Microsoft's compiler. Enable x86 builds with Oracle's Solaris compiler. Fix support for calling code compiled with Oracle's Sparc Solaris compiler. Testsuite fixes for Tru64 Unix. Additional platform support. @ text @d43 10 a52 1 @@@@ -16446,13 +16446,13 @@@@ s/ [a-zA-Z0-9-]*-all [a-zA-Z0-9-]*-all-a @ 1.12 log @Apply fix from http://gcc.gnu.org/ml/java-patches/2010-q1/msg00058.html Fixes Solaris/64bit, tested on NetBSD/amd64. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.11 2011/01/21 09:21:58 tnn Exp $ d5 1 a5 1 --- configure.orig 2009-12-31 12:41:51.000000000 +0000 d7 1 a7 1 @@@@ -12167,7 +12167,7 @@@@ case "$host" in d11 2 a12 2 - hppa*-*-linux* | parisc*-*-linux*) + hppa*-*-linux* | hppa*-*-netbsd* | parisc*-*-linux*) d16 2 a17 2 @@@@ -12210,7 +12210,7 @@@@ case "$host" in mips-sgi-irix5.* | mips-sgi-irix6.*) d20 2 a21 2 - mips*-*-linux*) + mips*-*-linux* | mips*-*-netbsd*) d25 1 a25 1 @@@@ -12228,7 +12228,7 @@@@ case "$host" in d29 2 a30 2 - powerpc-*-freebsd*) + powerpc-*-freebsd* | powerpc-*-netbsd*) d33 2 a34 2 powerpc*-*-rtems*) @@@@ -12239,7 +12239,7 @@@@ case "$host" in d43 20 a62 32 @@@@ -14510,6 +14510,31 @@@@ ;; esac +if test x$TARGET = xX86_64; then + { $as_echo "$as_me:$LINENO: checking assembler supports unwind section type" >&5 +$as_echo_n "checking assembler supports unwind section type... " >&6; } +if test "${libffi_cv_as_x86_64_unwind_section_type+set}" = set; then + $as_echo_n "(cached) " >&6 +else + + libffi_cv_as_x86_64_unwind_section_type=yes + echo '.section .eh_frame,"a",@@unwind' > conftest.s + if $CC $CFLAGS -c conftest.s 2>&1 | grep -i warning > /dev/null; then + libffi_cv_as_x86_64_unwind_section_type=no + fi + +fi +{ $as_echo "$as_me:$LINENO: result: $libffi_cv_as_x86_64_unwind_section_type" >&5 +$as_echo "$libffi_cv_as_x86_64_unwind_section_type" >&6; } + if test "x$libffi_cv_as_x86_64_unwind_section_type" = xyes; then + +cat >>confdefs.h <<\_ACEOF +#define HAVE_AS_X86_64_UNWIND_SECTION_TYPE 1 +_ACEOF + + fi +fi + { $as_echo "$as_me:$LINENO: checking whether .eh_frame section should be read-only" >&5 $as_echo_n "checking whether .eh_frame section should be read-only... " >&6; } if test "${libffi_cv_ro_eh_frame+set}" = set; then @ 1.11 log @enable for hppa*-*-netbsd* @ text @d1 1 a1 1 $NetBSD$ d43 32 @ 1.10 log @Make this build on NetBSD/sh3el. Tested on NetBSD/landisk 5.1. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.9 2010/01/16 16:28:58 asau Exp $ d7 10 a16 1 @@@@ -12210,7 +12210,7 @@@@ d25 1 a25 1 @@@@ -12228,7 +12228,7 @@@@ d34 1 a34 1 @@@@ -12239,7 +12239,7 @@@@ @ 1.9 log @Update to libffi 3.0.9. This release includes many important fixes as well as a couple of new ports. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.8 2009/05/26 12:27:12 he Exp $ d5 2 a6 2 --- configure.orig 2009-12-31 15:41:51.000000000 +0300 +++ configure 2010-01-12 12:40:15.000000000 +0300 d25 9 @ 1.8 log @Update from version 3.0.8nb1 to 3.0.8nb2. Pkgsrc changes: o Add portability to the various mips-based NetBSD ports. The self-tests even complete without any unexpected failures. @ text @d1 1 a1 1 $NetBSD$ d5 3 a7 3 --- configure.orig 2008-12-19 17:12:45.000000000 +0100 +++ configure @@@@ -21017,7 +21017,7 @@@@ case "$host" in d13 2 d16 1 a16 3 ;; @@@@ -21033,7 +21033,7 @@@@ case "$host" in @ 1.7 log @Attempt to make this build on NetBSD/powerpc. While at it, correctly set INFO_FILES to 'yes'. Bump PKGREVISION. @ text @d3 3 a5 1 --- configure.orig 2008-12-20 02:12:45.000000000 +1000 d7 9 @ 1.7.2.1 log @file patch-aa was added on branch pkgsrc-2009Q1 on 2009-05-22 11:55:35 +0000 @ text @d1 13 @ 1.7.2.2 log @Pullup ticket #2776 - requested by he libffi: build fix Revisions pulled up: - devel/libffi/Makefile 1.10 - devel/libffi/distinfo 1.11 - devel/libffi/patches/patch-aa 1.7 --- Module Name: pkgsrc Committed By: rh Date: Fri Apr 17 22:45:52 UTC 2009 Modified Files: pkgsrc/devel/libffi: Makefile distinfo Added Files: pkgsrc/devel/libffi/patches: patch-aa Log Message: Attempt to make this build on NetBSD/powerpc. While at it, correctly set INFO_FILES to 'yes'. Bump PKGREVISION. @ text @a0 13 $NetBSD$ --- configure.orig 2008-12-20 02:12:45.000000000 +1000 +++ configure @@@@ -21033,7 +21033,7 @@@@ case "$host" in powerpc-*-aix* | rs6000-*-aix*) TARGET=POWERPC_AIX; TARGETDIR=powerpc ;; - powerpc-*-freebsd*) + powerpc-*-freebsd* | powerpc-*-netbsd*) TARGET=POWERPC_FREEBSD; TARGETDIR=powerpc ;; powerpc*-*-rtems*) @ 1.7.2.3 log @Pullup ticket #2781 - requested by he libffi: portability fix Revisions pulled up: - devel/libffi/Makefile 1.11 via patch - devel/libffi/distinfo 1.12 - devel/libffi/patches/patch-aa 1.8 - devel/libffi/patches/patch-ae 1.1 - devel/libffi/patches/patch-af 1.1 - devel/libffi/patches/patch-ag 1.1 --- Module Name: pkgsrc Committed By: he Date: Tue May 26 12:27:12 UTC 2009 Modified Files: pkgsrc/devel/libffi: Makefile distinfo pkgsrc/devel/libffi/patches: patch-aa Added Files: pkgsrc/devel/libffi/patches: patch-ae patch-af patch-ag Log Message: Update from version 3.0.8nb1 to 3.0.8nb2. Pkgsrc changes: o Add portability to the various mips-based NetBSD ports. The self-tests even complete without any unexpected failures. @ text @d3 1 a3 3 Extend which ports we accept to deal with. --- configure.orig 2008-12-19 17:12:45.000000000 +0100 a4 9 @@@@ -21017,7 +21017,7 @@@@ case "$host" in mips-sgi-irix5.* | mips-sgi-irix6.*) TARGET=MIPS; TARGETDIR=mips ;; - mips*-*-linux*) + mips*-*-linux* | mips*-*-netbsd*) TARGET=MIPS; TARGETDIR=mips ;; @ 1.6 log @Update to libffi-3.0.6. From Aleksej Saushev, who's taking maintainership, with an adjustment for info file handling. Changes from 2.x appear to be large and aren't concisely anywhere I can find. Changes since 3.0.0: 3.0.6 Jul-17-08 Fix for closures on sh. Mark the sh/sh64 stack as non-executable. (both thanks to Kaz Kojima) 3.0.5 Apr-3-08 Fix libffi.pc file. Fix #define ARM for IcedTea users. Fix x86 closure bug. 3.0.4 Feb-24-08 Fix x86 OpenBSD configury. 3.0.3 Feb-22-08 Enable x86 OpenBSD thanks to Thomas Heller, and x86-64 FreeBSD thanks to Björn König and Andreas Tobler. Clean up test instruction in README. 3.0.2 Feb-21-08 Improved x86 FreeBSD support. Thanks to Björn König. 3.0.1 Feb-15-08 Fix instruction cache flushing bug on MIPS. Thanks to David Daney. 3.0.0 Feb-15-08 Many changes, mostly thanks to the GCC project. Cygnus Solutions is now Red Hat. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.5 2006/02/26 19:28:28 joerg Exp $ d3 1 a3 1 --- configure.orig 2004-05-12 15:13:57.000000000 +0000 d5 9 a13 25 @@@@ -2457,6 +2457,7 @@@@ i*86-*-sco3.2v5*) TARGET=X86; TARGETDIR= i*86-*-solaris*) TARGET=X86; TARGETDIR=x86;; i*86-*-beos*) TARGET=X86; TARGETDIR=x86;; i*86-*-freebsd*) TARGET=X86; TARGETDIR=x86;; +i*86-*-dragonfly*) TARGET=X86; TARGETDIR=x86;; i*86-*-netbsdelf*) TARGET=X86; TARGETDIR=x86;; i*86-*-win32*) TARGET=X86_WIN32; TARGETDIR=x86;; i*86-*-cygwin*) TARGET=X86_WIN32; TARGETDIR=x86;; @@@@ -2470,7 +2471,7 @@@@ ia64*-*-*) TARGET=IA64; TARGETDIR=ia64;; m68k-*-linux*) TARGET=M68K; TARGETDIR=m68k;; mips64*-*);; mips*-*-linux*) TARGET=MIPS_LINUX; TARGETDIR=mips;; -powerpc-*-linux* | powerpc-*-sysv*) TARGET=POWERPC; TARGETDIR=powerpc;; +powerpc-*-linux* | powerpc-*-netbsd* | powerpc-*-sysv*) TARGET=POWERPC; TARGETDIR=powerpc;; powerpc-*-beos*) TARGET=POWERPC; TARGETDIR=powerpc;; powerpc-*-darwin*) TARGET=POWERPC_DARWIN; TARGETDIR=powerpc;; powerpc-*-aix*) TARGET=POWERPC_AIX; TARGETDIR=powerpc;; @@@@ -2479,6 +2480,7 @@@@ arm*-*-linux-*) TARGET=ARM; TARGETDIR=ar s390-*-linux-*) TARGET=S390; TARGETDIR=s390;; s390x-*-linux-*) TARGET=S390; TARGETDIR=s390;; x86_64-*-linux*) TARGET=X86_64; TARGETDIR=x86;; +x86_64-*-netbsd*) TARGET=X86_64; TARGETDIR=x86;; sh-*-linux* | sh[34]*-*-linux*) TARGET=SH; TARGETDIR=sh;; esac @ 1.5 log @Remove autogenerated chunk from patch. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.4 2006/01/08 20:40:02 joerg Exp $ @ 1.4 log @Override config.guess and config.sub. Add DragonFly. @ text @d1 1 a1 1 $NetBSD$ a29 9 @@@@ -3792,6 +3794,8 @@@@ for ac_option do case "\$ac_option" in -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) + # Avoid regenerating for rechecks on pkgsrc + exit 0 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; -version | --version | --versio | --versi | --vers | --ver | --ve | --v) @ 1.3 log @Use gcc-3.3.5 tarball. Very minor changes. Bump PKGREVISION. Adapt patch-aa to include (currently untested) powerpc support. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.2 2005/03/07 00:25:39 wiz Exp $ d3 1 a3 1 --- configure.orig 2004-05-12 17:13:57.000000000 +0200 d5 9 a13 1 @@@@ -2470,7 +2470,7 @@@@ ia64*-*-*) TARGET=IA64; TARGETDIR=ia64;; d22 1 a22 1 @@@@ -2479,6 +2479,7 @@@@ arm*-*-linux-*) TARGET=ARM; TARGETDIR=ar d30 9 @ 1.2 log @Add RCS Id to patch-aa. @ text @d1 1 a1 1 $NetBSD$ d3 12 a14 3 --- configure.old 2005-02-23 12:57:22.000000000 +0100 +++ configure 2005-02-23 12:59:38.000000000 +0100 @@@@ -2478,6 +2478,7 @@@@ @ 1.1 log @Make libffi buildable on NetBSD/amd64 (fixes PR pkg/29512). Ack by wiz@@. @ text @d1 2 @