head 1.53; access; symbols pkgsrc-2023Q4:1.52.0.10 pkgsrc-2023Q4-base:1.52 pkgsrc-2023Q3:1.52.0.8 pkgsrc-2023Q3-base:1.52 pkgsrc-2023Q2:1.52.0.6 pkgsrc-2023Q2-base:1.52 pkgsrc-2023Q1:1.52.0.4 pkgsrc-2023Q1-base:1.52 pkgsrc-2022Q4:1.52.0.2 pkgsrc-2022Q4-base:1.52 pkgsrc-2022Q3:1.50.0.2 pkgsrc-2022Q3-base:1.50 pkgsrc-2022Q2:1.49.0.4 pkgsrc-2022Q2-base:1.49 pkgsrc-2022Q1:1.49.0.2 pkgsrc-2022Q1-base:1.49 pkgsrc-2021Q4:1.47.0.2 pkgsrc-2021Q4-base:1.47 pkgsrc-2021Q3:1.45.0.4 pkgsrc-2021Q3-base:1.45 pkgsrc-2021Q2:1.45.0.2 pkgsrc-2021Q2-base:1.45 pkgsrc-2021Q1:1.44.0.6 pkgsrc-2021Q1-base:1.44 pkgsrc-2020Q4:1.44.0.4 pkgsrc-2020Q4-base:1.44 pkgsrc-2020Q3:1.44.0.2 pkgsrc-2020Q3-base:1.44 pkgsrc-2020Q2:1.42.0.2 pkgsrc-2020Q2-base:1.42 pkgsrc-2020Q1:1.39.0.2 pkgsrc-2020Q1-base:1.39 pkgsrc-2019Q4:1.33.0.24 pkgsrc-2019Q4-base:1.33 pkgsrc-2019Q3:1.33.0.20 pkgsrc-2019Q3-base:1.33 pkgsrc-2019Q2:1.33.0.18 pkgsrc-2019Q2-base:1.33 pkgsrc-2019Q1:1.33.0.16 pkgsrc-2019Q1-base:1.33 pkgsrc-2018Q4:1.33.0.14 pkgsrc-2018Q4-base:1.33 pkgsrc-2018Q3:1.33.0.12 pkgsrc-2018Q3-base:1.33 pkgsrc-2018Q2:1.33.0.10 pkgsrc-2018Q2-base:1.33 pkgsrc-2018Q1:1.33.0.8 pkgsrc-2018Q1-base:1.33 pkgsrc-2017Q4:1.33.0.6 pkgsrc-2017Q4-base:1.33 pkgsrc-2017Q3:1.33.0.4 pkgsrc-2017Q3-base:1.33 pkgsrc-2017Q2:1.32.0.2 pkgsrc-2017Q2-base:1.32 pkgsrc-2017Q1:1.31.0.2 pkgsrc-2017Q1-base:1.31 pkgsrc-2016Q4:1.29.0.2 pkgsrc-2016Q4-base:1.29 pkgsrc-2016Q3:1.28.0.6 pkgsrc-2016Q3-base:1.28 pkgsrc-2016Q2:1.28.0.4 pkgsrc-2016Q2-base:1.28 pkgsrc-2016Q1:1.28.0.2 pkgsrc-2016Q1-base:1.28 pkgsrc-2015Q4:1.27.0.8 pkgsrc-2015Q4-base:1.27 pkgsrc-2015Q3:1.27.0.6 pkgsrc-2015Q3-base:1.27 pkgsrc-2015Q2:1.27.0.4 pkgsrc-2015Q2-base:1.27 pkgsrc-2015Q1:1.27.0.2 pkgsrc-2015Q1-base:1.27 pkgsrc-2014Q4:1.26.0.2 pkgsrc-2014Q4-base:1.26 pkgsrc-2014Q3:1.23.0.4 pkgsrc-2014Q3-base:1.23 pkgsrc-2014Q2:1.23.0.2 pkgsrc-2014Q2-base:1.23 pkgsrc-2014Q1:1.22.0.2 pkgsrc-2014Q1-base:1.22 pkgsrc-2013Q4:1.21.0.6 pkgsrc-2013Q4-base:1.21 pkgsrc-2013Q3:1.21.0.4 pkgsrc-2013Q3-base:1.21 pkgsrc-2013Q2:1.21.0.2 pkgsrc-2013Q2-base:1.21 pkgsrc-2013Q1:1.20.0.2 pkgsrc-2013Q1-base:1.20 pkgsrc-2012Q4:1.19.0.2 pkgsrc-2012Q4-base:1.19 pkgsrc-2012Q3:1.17.0.2 pkgsrc-2012Q3-base:1.17 pkgsrc-2012Q2:1.16.0.8 pkgsrc-2012Q2-base:1.16 pkgsrc-2012Q1:1.16.0.6 pkgsrc-2012Q1-base:1.16 pkgsrc-2011Q4:1.16.0.4 pkgsrc-2011Q4-base:1.16 pkgsrc-2011Q3:1.16.0.2 pkgsrc-2011Q3-base:1.16 pkgsrc-2011Q2:1.15.0.2 pkgsrc-2011Q2-base:1.15 pkgsrc-2011Q1:1.14.0.10 pkgsrc-2011Q1-base:1.14 pkgsrc-2010Q4:1.14.0.8 pkgsrc-2010Q4-base:1.14 pkgsrc-2010Q3:1.14.0.6 pkgsrc-2010Q3-base:1.14 pkgsrc-2010Q2:1.14.0.4 pkgsrc-2010Q2-base:1.14 pkgsrc-2010Q1:1.14.0.2 pkgsrc-2010Q1-base:1.14 pkgsrc-2009Q4:1.12.0.4 pkgsrc-2009Q4-base:1.12 pkgsrc-2009Q3:1.12.0.2 pkgsrc-2009Q3-base:1.12 pkgsrc-2009Q2:1.11.0.2 pkgsrc-2009Q2-base:1.11 pkgsrc-2009Q1:1.9.0.2 pkgsrc-2009Q1-base:1.9 pkgsrc-2008Q4:1.8.0.2 pkgsrc-2008Q4-base:1.8 pkgsrc-2008Q3:1.7.0.10 pkgsrc-2008Q3-base:1.7 cube-native-xorg:1.7.0.8 cube-native-xorg-base:1.7 pkgsrc-2008Q2:1.7.0.6 pkgsrc-2008Q2-base:1.7 cwrapper:1.7.0.4 pkgsrc-2008Q1:1.7.0.2 pkgsrc-2008Q1-base:1.7 pkgsrc-2007Q4:1.6.0.16 pkgsrc-2007Q4-base:1.6 pkgsrc-2007Q3:1.6.0.14 pkgsrc-2007Q3-base:1.6 pkgsrc-2007Q2:1.6.0.12 pkgsrc-2007Q2-base:1.6 pkgsrc-2007Q1:1.6.0.10 pkgsrc-2007Q1-base:1.6 pkgsrc-2006Q4:1.6.0.8 pkgsrc-2006Q4-base:1.6 pkgsrc-2006Q3:1.6.0.6 pkgsrc-2006Q3-base:1.6 pkgsrc-2006Q2:1.6.0.4 pkgsrc-2006Q2-base:1.6 pkgsrc-2006Q1:1.6.0.2 pkgsrc-2006Q1-base:1.6 pkgsrc-2005Q4:1.4.0.8 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.4.0.6 pkgsrc-2005Q3-base:1.4 pkgsrc-2005Q2:1.4.0.4 pkgsrc-2005Q2-base:1.4 pkgsrc-2005Q1:1.4.0.2 pkgsrc-2005Q1-base:1.4 pkgsrc-2004Q4:1.3.0.2 pkgsrc-2004Q4-base:1.3 pkgsrc-2004Q3:1.2.0.6 pkgsrc-2004Q3-base:1.2 pkgsrc-2004Q2:1.2.0.4 pkgsrc-2004Q2-base:1.2 pkgsrc-2004Q1:1.2.0.2 pkgsrc-2004Q1-base:1.2 pkgsrc-2003Q4:1.1.1.1.0.2 pkgsrc-2003Q4-base:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.53 date 2024.02.18.20.55.51; author adam; state Exp; branches; next 1.52; commitid v1aB1HXvYh32rXYE; 1.52 date 2022.10.24.09.46.57; author adam; state Exp; branches; next 1.51; commitid vG1lXH9oYdWceXYD; 1.51 date 2022.09.26.18.43.48; author adam; state Exp; branches; next 1.50; commitid E4G4LAkul1X86pVD; 1.50 date 2022.06.28.11.31.46; author wiz; state Exp; branches; next 1.49; commitid D2UoJrTHpoHEANJD; 1.49 date 2022.02.07.08.06.18; author wiz; state Exp; branches; next 1.48; commitid sRAhqme0HKESZErD; 1.48 date 2022.01.09.20.07.00; author tm; state Exp; branches; next 1.47; commitid 23TqK4nIxf6fUZnD; 1.47 date 2021.12.08.22.28.36; author tnn; state Exp; branches; next 1.46; commitid CmIRJ15ggotfJTjD; 1.46 date 2021.12.08.08.20.17; author adam; state Exp; branches; next 1.45; commitid umzWW7QtuLke2PjD; 1.45 date 2021.05.24.19.50.00; author wiz; state Exp; branches; next 1.44; commitid qokaiStTApGMcrUC; 1.44 date 2020.08.31.18.07.23; author wiz; state Exp; branches; next 1.43; commitid 7zxRbfOkDOoxbfmC; 1.43 date 2020.07.09.09.42.58; author hauke; state Exp; branches; next 1.42; commitid BvFd0vTtvCEw6ofC; 1.42 date 2020.04.24.10.19.32; author dsainty; state Exp; branches; next 1.41; commitid m9hdMB2DO39QKC5C; 1.41 date 2020.04.20.10.00.54; author dsainty; state Exp; branches; next 1.40; commitid jl7uWD8VU2bXK65C; 1.40 date 2020.04.08.13.40.10; author tnn; state Exp; branches; next 1.39; commitid o5Tei2RdzdAynA3C; 1.39 date 2020.02.28.22.37.24; author tnn; state Exp; branches 1.39.2.1; next 1.38; commitid icHDdLLkPoWWCuYB; 1.38 date 2020.02.28.13.20.10; author jperkin; state Exp; branches; next 1.37; commitid QSroZOggVG8qyrYB; 1.37 date 2020.02.27.14.55.02; author adam; state Exp; branches; next 1.36; commitid m7Hg51BJNsl77kYB; 1.36 date 2020.02.27.09.30.43; author jperkin; state Exp; branches; next 1.35; commitid QOnzOTWyXEgOjiYB; 1.35 date 2020.02.26.19.15.44; author adam; state Exp; branches; next 1.34; commitid rKgpRPUEjh8xAdYB; 1.34 date 2020.01.12.10.48.50; author pho; state Exp; branches; next 1.33; commitid bkgT8dX2hVPkeoSB; 1.33 date 2017.09.05.15.08.42; author joerg; state Exp; branches; next 1.32; commitid MbqW4fDQSVUUg16A; 1.32 date 2017.05.26.18.55.41; author joerg; state Exp; branches 1.32.2.1; next 1.31; commitid VekE5QlM9XJdOVSz; 1.31 date 2017.01.28.15.39.56; author wiz; state Exp; branches; next 1.30; commitid mp8yH1kVEM8rwKDz; 1.30 date 2017.01.28.15.33.25; author wiz; state Exp; branches; next 1.29; commitid ZGuXG5gGOw8huKDz; 1.29 date 2016.11.03.11.40.28; author maya; state Exp; branches; next 1.28; commitid Ln5Zv9qTBPAgWFsz; 1.28 date 2016.01.25.17.56.38; author jperkin; state Exp; branches; next 1.27; commitid sgrjfg5XtWl68lSy; 1.27 date 2015.03.07.16.37.51; author tnn; state Exp; branches; next 1.26; commitid e6vaxYxQG3Ir7Hcy; 1.26 date 2014.11.19.13.49.35; author wiz; state Exp; branches; next 1.25; commitid GMUiJ11tKSrKENYx; 1.25 date 2014.11.04.21.40.05; author joerg; state Exp; branches; next 1.24; commitid FAJBGOWexhSRJUWx; 1.24 date 2014.10.28.12.51.03; author adam; state Exp; branches; next 1.23; commitid F8XYNcDfwvwA2YVx; 1.23 date 2014.05.18.15.17.51; author wiz; state Exp; branches; next 1.22; commitid VkHMrqOFdnxW52Bx; 1.22 date 2014.02.11.07.21.28; author dholland; state Exp; branches; next 1.21; commitid hAFVo9j2WJszxEox; 1.21 date 2013.04.06.12.41.23; author obache; state Exp; branches; next 1.20; 1.20 date 2013.03.14.19.56.41; author drochner; state Exp; branches; next 1.19; 1.19 date 2012.10.31.11.17.13; author asau; state Exp; branches; next 1.18; 1.18 date 2012.10.11.19.37.47; author drochner; state Exp; branches; next 1.17; 1.17 date 2012.09.14.23.45.27; author asau; state Exp; branches; next 1.16; 1.16 date 2011.09.27.15.12.37; author tez; state Exp; branches; next 1.15; 1.15 date 2011.04.24.09.51.29; author asau; state Exp; branches; next 1.14; 1.14 date 2010.02.14.22.20.55; author tnn; state Exp; branches; next 1.13; 1.13 date 2010.01.16.16.28.58; author asau; state Exp; branches; next 1.12; 1.12 date 2009.09.20.13.10.30; author tnn; state Exp; branches; next 1.11; 1.11 date 2009.05.26.12.27.12; author he; state Exp; branches; next 1.10; 1.10 date 2009.04.17.22.45.52; author rh; state Exp; branches; next 1.9; 1.9 date 2009.02.21.15.51.35; author asau; state Exp; branches 1.9.2.1; next 1.8; 1.8 date 2008.10.11.22.33.56; author dholland; state Exp; branches; next 1.7; 1.7 date 2008.04.03.09.34.40; author joerg; state Exp; branches; next 1.6; 1.6 date 2006.03.04.21.29.17; author jlam; state Exp; branches; next 1.5; 1.5 date 2006.01.08.20.40.02; author joerg; state Exp; branches; next 1.4; 1.4 date 2005.03.07.14.54.40; author wiz; state Exp; branches; next 1.3; 1.3 date 2004.10.03.00.13.29; author tv; state Exp; branches; next 1.2; 1.2 date 2003.12.24.09.53.48; author jmmv; state Exp; branches; next 1.1; 1.1 date 2003.07.18.12.39.40; author agc; state Exp; branches 1.1.1.1; next ; 1.39.2.1 date 2020.05.10.13.29.55; author bsiegert; state Exp; branches; next ; commitid R9Nt6LQhHreriH7C; 1.32.2.1 date 2017.09.16.16.17.03; author spz; state Exp; branches; next ; commitid BFSqWkTc4SfUir7A; 1.9.2.1 date 2009.05.22.11.55.35; author tron; state Exp; branches; next 1.9.2.2; 1.9.2.2 date 2009.05.30.21.02.34; author tron; state Exp; branches; next ; 1.1.1.1 date 2003.07.18.12.39.40; author agc; state Exp; branches; next ; desc @@ 1.53 log @libffi: updated to 3.4.6 3.4.6 Feb-18-2024 Fix long double regression on mips64 and alpha. 3.4.5 Feb-15-2024 Add support for wasm32. Add support for aarch64 branch target identification (bti). Add support for ARCv3: ARC32 & ARC64. Add support for HPPA64, and many HPPA fixes. Add support for Haikuos on PowerPC. Fixes for AIX, loongson, MIPS, power, sparc64, and x86 Darwin. @ text @# $NetBSD: Makefile,v 1.52 2022/10/24 09:46:57 adam Exp $ DISTNAME= libffi-3.4.6 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_GITHUB:=libffi/} GITHUB_RELEASE= v${PKGVERSION_NOREV} MAINTAINER= asau@@inbox.ru HOMEPAGE= https://www.sourceware.org/libffi/ COMMENT= Foreign function interface LICENSE= mit USE_LANGUAGES= c c++ USE_LIBTOOL= yes USE_TOOLS+= gmake pkg-config readelf USE_TOOLS.SunOS+= perl GNU_CONFIGURE= yes CONFIGURE_ARGS+= --disable-multi-os-directory CONFIGURE_ARGS+= --includedir=${PREFIX}/include PKGCONFIG_OVERRIDE+= libffi.pc.in INFO_FILES= yes TEST_DEPENDS+= dejagnu-[0-9]*:../../devel/dejagnu TEST_TARGET= check .include "../../mk/compiler.mk" # The Compaq C frontend groks .s, but not .S. Assemble osf.S directly w/ as(1). pre-build: .if !empty(PKGSRC_COMPILER:Mccc) cd ${WRKSRC} && ./libtool --mode=compile --tag=CC as -I. -Iinclude -o src/alpha/osf.lo -c src/alpha/osf.S .endif .include "../../mk/bsd.prefs.mk" # patch-src_m68k_ffi.c uses m68k_sync_icache(2) .if ${MACHINE_PLATFORM:MNetBSD-*-m68k} LIBS+= -lm68k .endif # fix http://gnats.netbsd.org/42865 .if ${MACHINE_PLATFORM:MSunOS-*-i386} && ${CC_VERSION:Mgcc-[23]*} CPPFLAGS+= -D__PIC__ .endif # On platforms where ld(1) is LLVM ld, relocations against read-only # segments has to be explicitly allowed. .if ${MACHINE_PLATFORM:MFreeBSD-1[2-9].*-*} CFLAGS+= -Wl,-z,notext .endif .include "../../mk/pthread.buildlink3.mk" .include "../../mk/bsd.pkg.mk" @ 1.52 log @libffi: updated to 3.4.4 3.4.4 Oct-23-2022 Important aarch64 fixes, including support for linux builds with Link Time Optimization (-flto). Fix x86 stdcall stack alignment. Fix x86 Windows msvc assembler compatibility. Fix moxie and or1k small structure args. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.51 2022/09/26 18:43:48 adam Exp $ d3 1 a3 1 DISTNAME= libffi-3.4.4 d35 1 a35 1 .if !empty(MACHINE_PLATFORM:MNetBSD-*-m68k) d40 1 a40 1 .if !empty(MACHINE_PLATFORM:MSunOS-*-i386) && !empty(CC_VERSION:Mgcc-[23]*) d46 1 a46 1 .if !empty(MACHINE_PLATFORM:MFreeBSD-1[2-9].*-*) @ 1.51 log @libffi: updated to 3.4.3 3.4.3 All struct args are passed by value, regardless of size, as per ABIs. Enable static trampolines for Cygwin. Add support for Loongson's LoongArch64 architecture. Fix x32 static trampolines. Fix 32-bit x86 stdcall stack corruption. Fix ILP32 aarch64 support. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.50 2022/06/28 11:31:46 wiz Exp $ d3 1 a3 1 DISTNAME= libffi-3.4.3 @ 1.50 log @*: recursive bump for perl 5.36 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.49 2022/02/07 08:06:18 wiz Exp $ d3 1 a3 2 DISTNAME= libffi-3.4.2 PKGREVISION= 3 @ 1.49 log @libffi: add readelf to tools From Claes Nästén in PR 56698 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.48 2022/01/09 20:07:00 tm Exp $ d4 1 a4 1 PKGREVISION= 2 @ 1.48 log @libffi: define FFI_MMAP_EXEC_WRIT for Solaris GCC via pkgsrc set the vendor part of the target triplet to sun for Solaris. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.47 2021/12/08 22:28:36 tnn Exp $ d16 1 a16 1 USE_TOOLS+= gmake pkg-config @ 1.47 log @libffi: fix broken patch; cannot use #ifdef like #if. Bump rev. Fixes "python2.7: ffi_data_to_code_pointer: not implemented" on aarch64 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.46 2021/12/08 08:20:17 adam Exp $ d4 1 a4 1 PKGREVISION= 1 @ 1.46 log @libffi: updated to 3.4.2 3.4.2 Jun-28-21 Add static trampoline support for Linux on x86_64 and ARM64. Add support for Alibaba's CSKY architecture. Add support for Kalray's KVX architecture. Add support for Intel Control-flow Enforcement Technology (CET). Add support for ARM Pointer Authentication (PA). Fix 32-bit PPC regression. Fix MIPS soft-float problem. Enable tmpdir override with the $LIBFFI_TMPDIR environment variable. Enable compatibility with MSVC runtime stack checking. Reject float and small integer argument in ffi_prep_cif_var(). Callers must promote these types themselves. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.45 2021/05/24 19:50:00 wiz Exp $ d4 1 @ 1.45 log @*: recursive bump for perl 5.34 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.44 2020/08/31 18:07:23 wiz Exp $ d3 1 a3 2 DISTNAME= libffi-3.3 PKGREVISION= 5 d5 2 a6 1 MASTER_SITES= ftp://sourceware.org/pub/libffi/ @ 1.44 log @*: bump PKGREVISION for perl-5.32. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.43 2020/07/09 09:42:58 hauke Exp $ d4 1 a4 1 PKGREVISION= 4 @ 1.43 log @Do not attempt to build in GO closure support when there is no support for GO on the platform. Unbreaks build on Darwin 8. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.42 2020/04/24 10:19:32 dsainty Exp $ d4 1 a4 1 PKGREVISION= 3 @ 1.42 log @Revert portions of PR/48587 - applied in 2014 to resolve some issue with building on Irix. The changes applied to 'configure' introduce some quite ugly quote nesting that not all shells (E.g. ksh) can comprehend. After discussion, prefer to roll back what looks like undesirable and unnecessary changes, and drop the 'bash' dependency. My suspicion is that the old 'configure' patch is unhelpful even for Irix. The reason for the PR/48587 changes are not clear, given that part of that patch also selected 'bash' as the shell to use - which should have made editing the script unnecessary in the first place. Demonstrating the problem bringing all this to attention, this is what happens if you are using ksh as the Pkgsrc shell on MacOS X: ===> Building for libffi-3.3nb2 /bin/ksh: : cannot execute [Is a directory] The cause is this ugly looking quote nesting that was introduced by patch-configure in PR/48587... $ BUILD="` grep "^#### $HOST " Makefile | sed -e 's/.*|//' `" ksh: : cannot execute [Is a directory] ^C % bash bash-5.0$ BUILD="` grep "^#### $$HOST " Makefile | sed -e 's/.*|//' `" bash-5.0$ exit % sh sh-3.2$ BUILD="` grep "^#### $$HOST " Makefile | sed -e 's/.*|//' `" sh-3.2$ exit Removing patch-configure results in this much simpler, portable looking script: $ BUILD=` grep "^#### $$HOST " Makefile | sed -e 's/.*|//' ` No PKGREVISION bump, this change is not anticipated to affect the package contents, only the success or failure of the build. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.41 2020/04/20 10:00:54 dsainty Exp $ d4 1 a4 1 PKGREVISION= 2 @ 1.41 log @Use bash for this build unconditionally, the difficulty in parsing the shell script is not limited to Irix. Fixes the build when using ksh (on MacOS) as the preferred shell. No version bump, this change only repairs outright build failures. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.40 2020/04/08 13:40:10 tnn Exp $ a43 5 # Irix fixes from PR 48587, but also ensures compatibility with other shells. # Ksh also has difficulty parsing the shell scripts patched as part of this PR. USE_TOOLS+= bash:build MAKE_FLAGS+= SHELL=${TOOLS_DIR}/bin/bash @ 1.40 log @libffi: fix ARM build Restore ifdef toggling .eh_frame exception unwinding. Seems to have been lost in previous update. PR pkg/55107. Bump. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.39 2020/02/28 22:37:24 tnn Exp $ d44 3 a46 3 # irix fixes from PR 48587 .if ${OPSYS} == IRIX USE_TOOLS+= bash a47 1 .endif @ 1.39 log @libffi: kludge for aarch64. Bump rev. Disable i-cache flushing. This is wrong but the previous version of libffi didn't do it either and that worked in practice. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.38 2020/02/28 13:20:10 jperkin Exp $ d4 1 a4 1 PKGREVISION= 1 @ 1.39.2.1 log @Pullup ticket #6187 - requested by tnn devel/libffi: NetBSD/evbarm build fix Revisions pulled up: - devel/libffi/Makefile 1.40 - devel/libffi/distinfo 1.53 - devel/libffi/patches/patch-src_arm_sysv.S 1.9 --- Module Name: pkgsrc Committed By: tnn Date: Wed Apr 8 13:40:11 UTC 2020 Modified Files: pkgsrc/devel/libffi: Makefile distinfo Added Files: pkgsrc/devel/libffi/patches: patch-src_arm_sysv.S Log Message: libffi: fix ARM build Restore ifdef toggling .eh_frame exception unwinding. Seems to have been lost in previous update. PR pkg/55107. Bump. @ text @d1 1 a1 1 # $NetBSD$ d4 1 a4 1 PKGREVISION= 2 @ 1.38 log @libffi: Restrict perl to SunOS, as requested by joerg. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.37 2020/02/27 14:55:02 adam Exp $ d4 1 @ 1.37 log @libffi: update comment; spotted by @@leot @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.36 2020/02/27 09:30:43 jperkin Exp $ d14 2 a15 1 USE_TOOLS+= gmake perl pkg-config @ 1.36 log @libffi: New version requires perl. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.35 2020/02/26 19:15:44 adam Exp $ d32 1 a32 1 # patch-aj uses m68k_sync_icache(2) @ 1.35 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 @d1 1 a1 1 # $NetBSD: Makefile,v 1.34 2020/01/12 10:48:50 pho Exp $ d14 1 a14 1 USE_TOOLS+= gmake pkg-config @ 1.34 log @Fix build on FreeBSD 12 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.33 2017/09/05 15:08:42 joerg Exp $ d3 1 a3 2 DISTNAME= libffi-3.2.1 PKGREVISION= 4 d14 1 a14 1 USE_TOOLS+= pkg-config d16 2 a17 1 CONFIGURE_ARGS= --includedir=${PREFIX}/include d20 2 a29 1 # Since we don't have "TEST_DEPENDS", we implement it as a hack: a31 6 .if !empty(PKGSRC_RUN_TEST:M[Yy][Ee][Ss]) TEST_TARGET= check TEST_ENV= # empty? BUILD_DEPENDS+= dejagnu-[0-9]*:../../devel/dejagnu .endif d43 2 a44 2 .if !empty(OPSYS:MIRIX) USE_TOOLS+= bash gmake @ 1.33 log @Fix a glaring sign bug in the closure handling on NetBSD 8+. Fixes PR 52523 as Sparc seems to use more annoying instructions than x86 and ARM. Bump revision. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.32 2017/05/26 18:55:41 joerg Exp $ d53 6 @ 1.32 log @Implement a W^X-aware closure allocator. Overhead is one page per closure, but the number should normally be moderately small. A smarter scheme can be implemented if necessary. Requires NetBSD 7.99.72+. Bump revision. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.31 2017/01/28 15:39:56 wiz Exp $ d4 1 a4 1 PKGREVISION= 3 @ 1.32.2.1 log @Pullup ticket #5549 - requested by joerg devel/libffi: bug fix for sparc Revisions pulled up: - devel/libffi/Makefile 1.33 - devel/libffi/distinfo 1.45 - devel/libffi/patches/patch-src_closures.c 1.2 ------------------------------------------------------------------- Module Name: pkgsrc Committed By: joerg Date: Tue Sep 5 15:08:42 UTC 2017 Modified Files: pkgsrc/devel/libffi: Makefile distinfo pkgsrc/devel/libffi/patches: patch-src_closures.c Log Message: Fix a glaring sign bug in the closure handling on NetBSD 8+. Fixes PR 52523 as Sparc seems to use more annoying instructions than x86 and ARM. Bump revision. To generate a diff of this commit: cvs rdiff -u -r1.32 -r1.33 pkgsrc/devel/libffi/Makefile cvs rdiff -u -r1.44 -r1.45 pkgsrc/devel/libffi/distinfo cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/libffi/patches/patch-src_closures.c @ text @d1 1 a1 1 # $NetBSD$ d4 1 a4 1 PKGREVISION= 4 @ 1.31 log @Revert, all the parts for tests were already, just not for interactive use. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.30 2017/01/28 15:33:25 wiz Exp $ d4 1 a4 1 PKGREVISION= 2 @ 1.30 log @Add test target. Result: # of expected passes 970 # of unexpected failures 450 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.29 2016/11/03 11:40:28 maya Exp $ a12 2 BUILD_DEPENDS+= dejagnu-[0-9]*:../../devel/dejagnu a20 2 TEST_TARGET= check @ 1.29 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: Makefile,v 1.28 2016/01/25 17:56:38 jperkin Exp $ d13 2 d23 2 @ 1.28 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: Makefile,v 1.27 2015/03/07 16:37:51 tnn Exp $ d4 1 a4 1 PKGREVISION= 1 @ 1.27 log @wants pthreads @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.26 2014/11/19 13:49:35 wiz Exp $ d4 1 @ 1.26 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 1 a1 1 # $NetBSD: Makefile,v 1.25 2014/11/04 21:40:05 joerg Exp $ d52 1 @ 1.25 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: Makefile,v 1.24 2014/10/28 12:51:03 adam Exp $ d3 1 a3 2 DISTNAME= libffi-3.1 PKGREVISION= 1 @ 1.24 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: Makefile,v 1.23 2014/05/18 15:17:51 wiz Exp $ d4 1 @ 1.23 log @Update HOMEPAGE. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.22 2014/02/11 07:21:28 dholland Exp $ d3 1 a3 1 DISTNAME= libffi-3.0.13 d12 5 a16 7 GNU_CONFIGURE= yes CONFIGURE_ARGS= --includedir=${PREFIX}/include USE_LIBTOOL= yes USE_TOOLS+= pkg-config USE_LANGUAGES= c c++ INFO_FILES= yes d18 1 d32 1 a32 1 TEST_ENV= d38 1 a38 1 LIBS+= -lm68k d43 1 a43 1 CPPFLAGS += -D__PIC__ d48 2 a49 2 USE_TOOLS+= bash gmake MAKE_FLAGS+=SHELL=${TOOLS_DIR}/bin/bash @ 1.22 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 2 # $NetBSD: Makefile,v 1.21 2013/04/06 12:41:23 obache Exp $ # d8 1 a8 1 HOMEPAGE= http://sources.redhat.com/libffi/ @ 1.21 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 1 # $NetBSD: Makefile,v 1.20 2013/03/14 19:56:41 drochner Exp $ d48 6 @ 1.20 log @update to 3.0.12 changes: -bugfixes -more compilers/CPUs supported @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.19 2012/10/31 11:17:13 asau Exp $ d4 1 a4 1 DISTNAME= libffi-3.0.12 @ 1.19 log @Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.18 2012/10/11 19:37:47 drochner Exp $ d4 1 a4 2 DISTNAME= libffi-3.0.11 PKGREVISION= 1 @ 1.18 log @fix closures on NetBSD/amd64 and possibly more NetBSD platforms where malloc'd memory is not automatically executable bump PKGREV @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.17 2012/09/14 23:45:27 asau Exp $ a13 2 PKG_DESTDIR_SUPPORT= user-destdir @ 1.17 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: Makefile,v 1.16 2011/09/27 15:12:37 tez Exp $ d5 1 @ 1.16 log @Fix build for Solaris x86 with older gcc per PR#42865 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 2011/04/24 09:51:29 asau Exp $ d4 1 a4 2 DISTNAME= libffi-3.0.9 PKGREVISION= 1 d36 1 @ 1.15 log @The library uses m68k_sync_icache from libm68k on NetBSD/m68k. Fix as proposed by in PR pkg/44901. Bump package revision. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.14 2010/02/14 22:20:55 tnn Exp $ d45 5 @ 1.14 log @make tru64 build fix work with new libtool @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2010/01/16 16:28:58 asau Exp $ d5 1 d40 5 @ 1.13 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: Makefile,v 1.12 2009/09/20 13:10:30 tnn Exp $ d28 1 a28 1 cd ${WRKSRC} && ./libtool --mode=compile --tag=CC as -I. -Iinclude -o src/alpha/osf.o -c src/alpha/osf.S @ 1.12 log @Fix build on Tru64. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2009/05/26 12:27:12 he Exp $ d4 1 a4 2 DISTNAME= libffi-3.0.8 PKGREVISION= 2 @ 1.11 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: Makefile,v 1.10 2009/04/17 22:45:52 rh Exp $ d25 7 @ 1.10 log @Attempt to make this build on NetBSD/powerpc. While at it, correctly set INFO_FILES to 'yes'. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2009/02/21 15:51:35 asau Exp $ d5 1 a5 1 PKGREVISION= 1 d12 1 @ 1.9 log @ Update to libffi 3.0.8. Changes since previous (3.0.6) include Solaris 10/x86 and FreeBSD/powerpc support, code cleanup and bug fixes. pkgsrc changes: add testing support. Since there's no support for test depends, implement a hack proposed by . @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2008/10/11 22:33:56 dholland Exp $ d5 1 d20 1 a20 1 INFO_FILES= # PLIST @ 1.9.2.1 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 @d1 1 a1 1 # $NetBSD$ a4 1 PKGREVISION= 1 d19 1 a19 1 INFO_FILES= yes @ 1.9.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 @d5 1 a5 1 PKGREVISION= 2 @ 1.8 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: Makefile,v 1.7 2008/04/03 09:34:40 joerg Exp $ d4 1 a4 1 DISTNAME= libffi-3.0.6 d23 8 @ 1.7 log @Fix lvalue cast on amd64. Mark as DESTDIR safe. @ text @d1 2 a2 1 # $NetBSD: Makefile,v 1.6 2006/03/04 21:29:17 jlam Exp $ d4 1 a4 3 DISTNAME= gcc-3.3.5 PKGNAME= libffi-2.0beta PKGREVISION= 2 d6 1 a6 2 MASTER_SITES= ${MASTER_SITE_GNU:=gcc/gcc-3.3.5/} EXTRACT_SUFX= .tar.bz2 d8 1 a8 1 MAINTAINER= pkgsrc-users@@NetBSD.org d15 5 a19 3 CONFIGURE_ENV+= with_target_subdir=. CONFIG_GUESS_OVERRIDE= ../config.guess CONFIG_SUB_OVERRIDE= ../config.sub d21 1 a21 1 WRKSRC= ${WRKDIR}/${DISTNAME}/libffi @ 1.6 log @Point MAINTAINER to pkgsrc-users@@NetBSD.org in the case where no developer is officially maintaining the package. The rationale for changing this from "tech-pkg" to "pkgsrc-users" is that it implies that any user can try to maintain the package (by submitting patches to the mailing list). Since the folks most likely to care about the package are the folks that want to use it or are already using it, this would leverage the energy of users who aren't developers. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2006/01/08 20:40:02 joerg Exp $ d14 2 @ 1.5 log @Override config.guess and config.sub. Add DragonFly. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2005/03/07 14:54:40 wiz Exp $ d10 1 a10 1 MAINTAINER= tech-pkg@@NetBSD.org @ 1.4 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: Makefile,v 1.3 2004/10/03 00:13:29 tv Exp $ d16 2 @ 1.3 log @Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10 in the process. (More information on tech-pkg.) Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and installing .la files. Bump PKGREVISION (only) of all packages depending directly on the above via a buildlink3 include. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2003/12/24 09:53:48 jmmv Exp $ d3 1 a3 1 DISTNAME= gcc-3.3 d5 1 a5 1 PKGREVISION= 1 d7 1 a7 1 MASTER_SITES= ${MASTER_SITE_GNU:=gcc/gcc-3.3/} @ 1.2 log @s/@@netbsd.org/@@NetBSD.org/ in MAINTAINER. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1.1.1 2003/07/18 12:39:40 agc Exp $ d5 1 @ 1.1 log @Initial revision @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2002/10/04 08:59:34 jlam Exp $ d9 1 a9 1 MAINTAINER= tech-pkg@@netbsd.org @ 1.1.1.1 log @Initial import of libffi-2.0beta into the NetBSD Packages Collection. The libffi library provides a portable, high level programming interface to various calling conventions. This allows a programmer to call any function specified by a call interface description at run-time. Some programs may not know at the time of compilation what arguments are to be passed to a function. For instance, an interpreter may be told at run-time about the number and types of arguments used to call a given function. Libffi can be used in such programs to provide a bridge from the interpreter program to compiled code. Ffi stands for Foreign Function Interface. A foreign function interface is the popular name for the interface that allows code written in one language to call code written in another language. The libffi library really only provides the lowest, machine dependent layer of a fully featured foreign function interface. A layer must exist above libffi that handles type conversions for values passed between the two languages. @ text @@