head 1.3; access; symbols pkgsrc-2019Q4:1.2.0.36 pkgsrc-2019Q4-base:1.2 pkgsrc-2019Q3:1.2.0.32 pkgsrc-2019Q3-base:1.2 pkgsrc-2019Q2:1.2.0.30 pkgsrc-2019Q2-base:1.2 pkgsrc-2019Q1:1.2.0.28 pkgsrc-2019Q1-base:1.2 pkgsrc-2018Q4:1.2.0.26 pkgsrc-2018Q4-base:1.2 pkgsrc-2018Q3:1.2.0.24 pkgsrc-2018Q3-base:1.2 pkgsrc-2018Q2:1.2.0.22 pkgsrc-2018Q2-base:1.2 pkgsrc-2018Q1:1.2.0.20 pkgsrc-2018Q1-base:1.2 pkgsrc-2017Q4:1.2.0.18 pkgsrc-2017Q4-base:1.2 pkgsrc-2017Q3:1.2.0.16 pkgsrc-2017Q3-base:1.2 pkgsrc-2017Q2:1.2.0.12 pkgsrc-2017Q2-base:1.2 pkgsrc-2017Q1:1.2.0.10 pkgsrc-2017Q1-base:1.2 pkgsrc-2016Q4:1.2.0.8 pkgsrc-2016Q4-base:1.2 pkgsrc-2016Q3:1.2.0.6 pkgsrc-2016Q3-base:1.2 pkgsrc-2016Q2:1.2.0.4 pkgsrc-2016Q2-base:1.2 pkgsrc-2016Q1:1.2.0.2 pkgsrc-2016Q1-base:1.2 pkgsrc-2015Q4:1.1.0.56 pkgsrc-2015Q4-base:1.1 pkgsrc-2015Q3:1.1.0.54 pkgsrc-2015Q3-base:1.1 pkgsrc-2015Q2:1.1.0.52 pkgsrc-2015Q2-base:1.1 pkgsrc-2015Q1:1.1.0.50 pkgsrc-2015Q1-base:1.1 pkgsrc-2014Q4:1.1.0.48 pkgsrc-2014Q4-base:1.1 pkgsrc-2014Q3:1.1.0.46 pkgsrc-2014Q3-base:1.1 pkgsrc-2014Q2:1.1.0.44 pkgsrc-2014Q2-base:1.1 pkgsrc-2014Q1:1.1.0.42 pkgsrc-2014Q1-base:1.1 pkgsrc-2013Q4:1.1.0.40 pkgsrc-2013Q4-base:1.1 pkgsrc-2013Q3:1.1.0.38 pkgsrc-2013Q3-base:1.1 pkgsrc-2013Q2:1.1.0.36 pkgsrc-2013Q2-base:1.1 pkgsrc-2013Q1:1.1.0.34 pkgsrc-2013Q1-base:1.1 pkgsrc-2012Q4:1.1.0.32 pkgsrc-2012Q4-base:1.1 pkgsrc-2012Q3:1.1.0.30 pkgsrc-2012Q3-base:1.1 pkgsrc-2012Q2:1.1.0.28 pkgsrc-2012Q2-base:1.1 pkgsrc-2012Q1:1.1.0.26 pkgsrc-2012Q1-base:1.1 pkgsrc-2011Q4:1.1.0.24 pkgsrc-2011Q4-base:1.1 pkgsrc-2011Q3:1.1.0.22 pkgsrc-2011Q3-base:1.1 pkgsrc-2011Q2:1.1.0.20 pkgsrc-2011Q2-base:1.1 pkgsrc-2011Q1:1.1.0.18 pkgsrc-2011Q1-base:1.1 pkgsrc-2010Q4:1.1.0.16 pkgsrc-2010Q4-base:1.1 pkgsrc-2010Q3:1.1.0.14 pkgsrc-2010Q3-base:1.1 pkgsrc-2010Q2:1.1.0.12 pkgsrc-2010Q2-base:1.1 pkgsrc-2010Q1:1.1.0.10 pkgsrc-2010Q1-base:1.1 pkgsrc-2009Q4:1.1.0.8 pkgsrc-2009Q4-base:1.1 pkgsrc-2009Q3:1.1.0.6 pkgsrc-2009Q3-base:1.1 pkgsrc-2009Q2:1.1.0.4 pkgsrc-2009Q2-base:1.1 pkgsrc-2009Q1:1.1.0.2; locks; strict; comment @# @; 1.3 date 2020.02.26.19.15.44; author adam; state dead; branches; next 1.2; commitid rKgpRPUEjh8xAdYB; 1.2 date 2016.01.25.17.56.39; author jperkin; state Exp; branches; next 1.1; commitid sgrjfg5XtWl68lSy; 1.1 date 2009.05.26.12.27.12; author he; state Exp; branches 1.1.2.1; next ; 1.1.2.1 date 2009.05.26.12.27.12; author tron; state dead; branches; next 1.1.2.2; 1.1.2.2 date 2009.05.30.21.02.35; author tron; state Exp; branches; next ; desc @@ 1.3 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-ag,v 1.2 2016/01/25 17:56:39 jperkin Exp $ The %Lf printf format expects "long double", so cast args accordingly. --- testsuite/libffi.call/float2.c.orig 2014-11-08 12:47:24.000000000 +0000 +++ testsuite/libffi.call/float2.c @@@@ -45,7 +45,7 @@@@ int main (void) /* This is ifdef'd out for now. long double support under SunOS/gcc is pretty much non-existent. You'll get the odd bus error in library routines like printf(). */ - printf ("%Lf, %Lf, %Lf, %Lf\n", ld, ldblit(f), ld - ldblit(f), LDBL_EPSILON); + printf ("%Lf, %Lf, %Lf, %Lf\n", (long double)ld, (long double)ldblit(f), (long double)(ld - ldblit(f)), (long double)LDBL_EPSILON); #endif /* These are not always the same!! Check for a reasonable delta */ @ 1.2 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-ag,v 1.1 2009/05/26 12:27:12 he Exp $ @ 1.1 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 1 a5 1 --- testsuite/libffi.call/float2.c.orig 2008-01-29 16:15:20.000000000 +0100 d7 1 a7 1 @@@@ -44,7 +44,7 @@@@ int main (void) @ 1.1.2.1 log @file patch-ag was added on branch pkgsrc-2009Q1 on 2009-05-30 21:02:35 +0000 @ text @d1 15 @ 1.1.2.2 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 @a0 15 $NetBSD: patch-ag,v 1.1 2009/05/26 12:27:12 he Exp $ The %Lf printf format expects "long double", so cast args accordingly. --- testsuite/libffi.call/float2.c.orig 2008-01-29 16:15:20.000000000 +0100 +++ testsuite/libffi.call/float2.c @@@@ -44,7 +44,7 @@@@ int main (void) /* This is ifdef'd out for now. long double support under SunOS/gcc is pretty much non-existent. You'll get the odd bus error in library routines like printf(). */ - printf ("%Lf, %Lf, %Lf, %Lf\n", ld, ldblit(f), ld - ldblit(f), LDBL_EPSILON); + printf ("%Lf, %Lf, %Lf, %Lf\n", (long double)ld, (long double)ldblit(f), (long double)(ld - ldblit(f)), (long double)LDBL_EPSILON); #endif /* These are not always the same!! Check for a reasonable delta */ @