head 1.9; access; symbols pkgsrc-2019Q4:1.8.0.30 pkgsrc-2019Q4-base:1.8 pkgsrc-2019Q3:1.8.0.26 pkgsrc-2019Q3-base:1.8 pkgsrc-2019Q2:1.8.0.24 pkgsrc-2019Q2-base:1.8 pkgsrc-2019Q1:1.8.0.22 pkgsrc-2019Q1-base:1.8 pkgsrc-2018Q4:1.8.0.20 pkgsrc-2018Q4-base:1.8 pkgsrc-2018Q3:1.8.0.18 pkgsrc-2018Q3-base:1.8 pkgsrc-2018Q2:1.8.0.16 pkgsrc-2018Q2-base:1.8 pkgsrc-2018Q1:1.8.0.14 pkgsrc-2018Q1-base:1.8 pkgsrc-2017Q4:1.8.0.12 pkgsrc-2017Q4-base:1.8 pkgsrc-2017Q3:1.8.0.10 pkgsrc-2017Q3-base:1.8 pkgsrc-2017Q2:1.8.0.6 pkgsrc-2017Q2-base:1.8 pkgsrc-2017Q1:1.8.0.4 pkgsrc-2017Q1-base:1.8 pkgsrc-2016Q4:1.8.0.2 pkgsrc-2016Q4-base:1.8 pkgsrc-2016Q3:1.7.0.6 pkgsrc-2016Q3-base:1.7 pkgsrc-2016Q2:1.7.0.4 pkgsrc-2016Q2-base:1.7 pkgsrc-2016Q1:1.7.0.2 pkgsrc-2016Q1-base:1.7 pkgsrc-2015Q4:1.6.0.16 pkgsrc-2015Q4-base:1.6 pkgsrc-2015Q3:1.6.0.14 pkgsrc-2015Q3-base:1.6 pkgsrc-2015Q2:1.6.0.12 pkgsrc-2015Q2-base:1.6 pkgsrc-2015Q1:1.6.0.10 pkgsrc-2015Q1-base:1.6 pkgsrc-2014Q4:1.6.0.8 pkgsrc-2014Q4-base:1.6 pkgsrc-2014Q3:1.6.0.6 pkgsrc-2014Q3-base:1.6 pkgsrc-2014Q2:1.6.0.4 pkgsrc-2014Q2-base:1.6 pkgsrc-2014Q1:1.6.0.2 pkgsrc-2014Q1-base:1.6 pkgsrc-2013Q4:1.5.0.10 pkgsrc-2013Q4-base:1.5 pkgsrc-2013Q3:1.5.0.8 pkgsrc-2013Q3-base:1.5 pkgsrc-2013Q2:1.5.0.6 pkgsrc-2013Q2-base:1.5 pkgsrc-2013Q1:1.5.0.4 pkgsrc-2013Q1-base:1.5 pkgsrc-2012Q4:1.5.0.2 pkgsrc-2012Q4-base:1.5 pkgsrc-2012Q3:1.4.0.2 pkgsrc-2012Q3-base:1.4 pkgsrc-2012Q2:1.3.0.20 pkgsrc-2012Q2-base:1.3 pkgsrc-2012Q1:1.3.0.18 pkgsrc-2012Q1-base:1.3 pkgsrc-2011Q4:1.3.0.16 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q3:1.3.0.14 pkgsrc-2011Q3-base:1.3 pkgsrc-2011Q2:1.3.0.12 pkgsrc-2011Q2-base:1.3 pkgsrc-2011Q1:1.3.0.10 pkgsrc-2011Q1-base:1.3 pkgsrc-2010Q4:1.3.0.8 pkgsrc-2010Q4-base:1.3 pkgsrc-2010Q3:1.3.0.6 pkgsrc-2010Q3-base:1.3 pkgsrc-2010Q2:1.3.0.4 pkgsrc-2010Q2-base:1.3 pkgsrc-2010Q1:1.3.0.2 pkgsrc-2010Q1-base:1.3 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.9 date 2020.02.26.19.15.44; author adam; state dead; branches; next 1.8; commitid rKgpRPUEjh8xAdYB; 1.8 date 2016.11.03.11.40.28; author maya; state Exp; branches; next 1.7; commitid Ln5Zv9qTBPAgWFsz; 1.7 date 2016.01.25.17.56.39; author jperkin; state Exp; branches; next 1.6; commitid sgrjfg5XtWl68lSy; 1.6 date 2014.02.11.07.21.28; author dholland; state Exp; branches; next 1.5; commitid hAFVo9j2WJszxEox; 1.5 date 2012.12.18.12.33.07; author ryoon; state Exp; branches; next 1.4; 1.4 date 2012.09.14.23.45.27; author asau; state Exp; branches; next 1.3; 1.3 date 2010.03.30.09.21.30; author jmcneill; state Exp; branches; next 1.2; 1.2 date 2010.01.16.16.28.58; author asau; state Exp; branches; next 1.1; 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.9 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-ae,v 1.8 2016/11/03 11:40:28 maya Exp $ Make a minimal adjustment to support the various NetBSD mips ports. --- src/mips/ffitarget.h.orig 2014-11-08 12:47:24.000000000 +0000 +++ src/mips/ffitarget.h @@@@ -32,7 +32,7 @@@@ #error "Please do not include ffitarget.h directly into your source. Use ffi.h instead." #endif -#ifdef linux +#if defined(linux) # include #elif defined(__rtems__) /* @@@@ -41,8 +41,10 @@@@ #define _MIPS_SIM_ABI32 1 #define _MIPS_SIM_NABI32 2 #define _MIPS_SIM_ABI64 3 -#elif !defined(__OpenBSD__) +#elif defined(__sgi) # include +#else +# include #endif # ifndef _ABIN32 @ 1.8 log @libffi: remove some netbsd/mips specific patches that are uneeded (and may be harmful). we don't need a definition to declare we're definitely totally o32, especially since the vast majority will be n32. this is potentially harmful, but I cannot confirm any resulting harm. don't try to avoid compiler builtins, we have them and I expect that they will work, however, only build tested (on netbsd 7.99.41 mips64eb), no tests run. bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD: patch-ae,v 1.7 2016/01/25 17:56:39 jperkin Exp $ @ 1.7 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-ae,v 1.6 2014/02/11 07:21:28 dholland Exp $ a27 13 @@@@ -55,6 +57,12 @@@@ # define _ABIO32 _MIPS_SIM_ABI32 # endif +#ifdef __NetBSD__ +/* Let's cheat a bit... */ +# define _ABIO32 1 +# define _MIPS_SIM _ABIO32 +#endif + #if !defined(_MIPS_SIM) # error -- something is very wrong -- #else @ 1.6 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-ae,v 1.5 2012/12/18 12:33:07 ryoon Exp $ d5 1 a5 1 --- src/mips/ffitarget.h.orig 2012-04-12 02:46:06.000000000 +0000 @ 1.5 log @Fix PR/47199 Restore _MIPS_SIM workaround, removed during updating to rev. 1.4 of patch-ae. Functionality is not tested yet. @ text @d1 1 a1 1 $NetBSD: patch-ae,v 1.4 2012/09/14 23:45:27 asau Exp $ d21 1 a21 1 +#elif defined(irix) @ 1.4 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 @d1 1 a1 1 $NetBSD$ d28 13 @ 1.3 log @pkg/42858: devel/libffi-3.0.9 fails to build on NetBSD/cobalt 5.02 Fix build for NetBSD/mips, tested on NetBSD/sgimips 5.0_STABLE @ text @d1 1 a1 1 $NetBSD: patch-ae,v 1.2 2010/01/16 16:28:58 asau Exp $ d5 5 a9 5 --- src/mips/ffitarget.h.orig 2009-12-29 10:22:26.000000000 -0500 +++ src/mips/ffitarget.h 2010-03-30 05:08:48.000000000 -0400 @@@@ -27,20 +27,27 @@@@ #ifndef LIBFFI_TARGET_H #define LIBFFI_TARGET_H d14 7 a20 1 -#else a24 14 +#endif +#ifndef _ABIN32 +# define _ABIN32 _MIPS_SIM_NABI32 +#endif +#ifndef _ABI64 +# define _ABI64 _MIPS_SIM_ABI64 +#endif +#ifndef _ABIO32 +# define _ABIO32 _MIPS_SIM_ABI32 +#endif + +#ifndef _MIPS_SIM +/* Let's cheat a bit... */ +# define _MIPS_SIM _ABIO32 a25 9 -# ifndef _ABIN32 -# define _ABIN32 _MIPS_SIM_NABI32 -# endif -# ifndef _ABI64 -# define _ABI64 _MIPS_SIM_ABI64 -# endif -# ifndef _ABIO32 -# define _ABIO32 _MIPS_SIM_ABI32 -# endif d27 1 a27 2 #if !defined(_MIPS_SIM) -- something is very wrong -- @ 1.2 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-ae,v 1.1 2009/05/26 12:27:12 he Exp $ d5 26 a30 7 --- src/mips/ffitarget.h.orig 2009-12-29 18:22:26.000000000 +0300 +++ src/mips/ffitarget.h 2010-01-12 12:45:23.000000000 +0300 @@@@ -41,6 +41,11 @@@@ # ifndef _ABIO32 # define _ABIO32 _MIPS_SIM_ABI32 # endif +#ifdef __NetBSD__ a31 1 +# define _ABIO32 1 d33 10 a42 1 +#endif @ 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 4 a8 3 --- src/mips/ffitarget.h.orig 2008-02-15 19:43:40.000000000 +0100 +++ src/mips/ffitarget.h @@@@ -39,6 +39,11 @@@@ a10 1 #endif @ 1.1.2.1 log @file patch-ae was added on branch pkgsrc-2009Q1 on 2009-05-30 21:02:35 +0000 @ text @d1 18 @ 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 18 $NetBSD: patch-ae,v 1.1 2009/05/26 12:27:12 he Exp $ Make a minimal adjustment to support the various NetBSD mips ports. --- src/mips/ffitarget.h.orig 2008-02-15 19:43:40.000000000 +0100 +++ src/mips/ffitarget.h @@@@ -39,6 +39,11 @@@@ # define _ABIO32 _MIPS_SIM_ABI32 # endif #endif +#ifdef __NetBSD__ +/* Let's cheat a bit... */ +# define _ABIO32 1 +# define _MIPS_SIM _ABIO32 +#endif #if !defined(_MIPS_SIM) -- something is very wrong -- @