Commit graph

45 commits

Author SHA1 Message Date
obache
ef66b98821 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.
2013-04-06 12:41:23 +00:00
jperkin
5bc0d41dc9 Disable multilib directories. Fixes packaging issues on at least SunOS
64-bit, possibly others.

Patch from obache.
2013-03-18 10:04:10 +00:00
drochner
3143f4c0a6 update to 3.0.12
changes:
-bugfixes
-more compilers/CPUs supported
2013-03-14 19:56:41 +00:00
ryoon
991b650cfd Fix PR/47199
Restore _MIPS_SIM workaround, removed during updating to rev. 1.4 of patch-ae.
Functionality is not tested yet.
2012-12-18 12:33:07 +00:00
asau
e1ab7079b6 Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. 2012-10-31 11:16:30 +00:00
drochner
35c4a1c43f fix closures on NetBSD/amd64 and possibly more NetBSD platforms where
malloc'd memory is not automatically executable
bump PKGREV
2012-10-11 19:37:47 +00:00
jmmv
cfa0d7784e Fix build under NetBSD/macppc. 2012-10-09 01:07:55 +00:00
asau
3d853d7eb6 Library major version changed. 2012-09-15 00:22:43 +00:00
asau
e952622554 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.
2012-09-14 23:45:27 +00:00
jperkin
2008e2abc4 Apply fix from http://gcc.gnu.org/ml/java-patches/2010-q1/msg00058.html
Fixes Solaris/64bit, tested on NetBSD/amd64.
2012-05-30 09:13:16 +00:00
tsutsui
188fd541cf Pull fix from upstream for asm error on NetBSD/arm with newer binutils:
0e5843995f (diff-39)
>  * src/arm/sysv.S (ffi_closure_SYSV): Add UNWIND to .pad directive.
2011-12-31 09:58:22 +00:00
tez
51fb83c674 Fix build for Solaris x86 with older gcc per PR#42865 2011-09-27 15:12:37 +00:00
asau
e3b9b1e36e The library uses m68k_sync_icache from libm68k on NetBSD/m68k.
Fix as proposed by <obache> in PR pkg/44901. Bump package revision.
2011-04-24 09:51:29 +00:00
tnn
e2e9a8e0b9 enable for hppa*-*-netbsd* 2011-01-21 09:21:57 +00:00
tsutsui
a3c6b5e229 Make this build on NetBSD/sh3el.
Tested on NetBSD/landisk 5.1.
2010-11-20 08:45:12 +00:00
jklos
c79dc989ea Correctly do cache flushing on m68k NetBSD. Fixes PR #43106. 2010-07-22 04:17:44 +00:00
wiz
6ff8338d0b regen (hi jared) 2010-03-30 10:17:25 +00:00
jmcneill
2dee9fb32b 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
2010-03-30 09:21:30 +00:00
tnn
12894d393b make tru64 build fix work with new libtool 2010-02-14 22:20:55 +00:00
asau
364d9b8424 Update to libffi 3.0.9.
This release includes many important fixes as well as a couple of new ports.
2010-01-16 16:28:58 +00:00
seb
b89e696355 Fix build with sunpro's cc which defines __i386 but not __i386__ 2009-09-21 00:33:51 +00:00
tnn
0cd045677b Fix build on Tru64. 2009-09-20 13:10:30 +00:00
he
d184389d51 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.
2009-05-26 12:27:12 +00:00
rh
388d1466bf Attempt to make this build on NetBSD/powerpc. While at it, correctly set
INFO_FILES to 'yes'.  Bump PKGREVISION.
2009-04-17 22:45:52 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +00:00
asau
e0e68674fb 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 <obache>.
2009-02-21 15:51:35 +00:00
dholland
3bf7bef308 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.
2008-10-11 22:33:56 +00:00
joerg
5d6f479253 Fix lvalue cast on amd64. Mark as DESTDIR safe. 2008-04-03 09:34:40 +00:00
jlam
c16221a4db Change the format of BUILDLINK_ORDER to contain depth information as well,
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.

For example, "make show-buildlink3" in fonts/Xft2 displays:

	zlib
	fontconfig
	    iconv
	    zlib
	    freetype2
	    expat
	freetype2
	Xrender
	    renderproto
2006-07-08 23:10:35 +00:00
jlam
9430e49307 Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
2006-07-08 22:38:58 +00:00
rillig
96fc47c14f Aligned the last line of the buildlink3.mk files with the first line, so
that they look nicer.
2006-04-12 10:26:59 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +00:00
jlam
9c8b5ede43 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.
2006-03-04 21:28:51 +00:00
joerg
241419e530 Remove autogenerated chunk from patch. 2006-02-26 19:28:28 +00:00
joerg
578d3bed5c Override config.guess and config.sub. Add DragonFly. 2006-01-08 20:40:02 +00:00
wiz
07c93f0fe1 Use gcc-3.3.5 tarball. Very minor changes. Bump PKGREVISION.
Adapt patch-aa to include (currently untested) powerpc support.
2005-03-07 14:54:40 +00:00
wiz
640bdc0993 Add RCS Id to patch-aa. 2005-03-07 00:25:39 +00:00
daniel
4de61c16e2 Make libffi buildable on NetBSD/amd64 (fixes PR pkg/29512).
Ack by wiz@.
2005-03-03 09:18:47 +00:00
agc
4a3d2f7ce2 Add RMD160 digests. 2005-02-23 22:24:08 +00:00
tv
c487cb967a 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.
2004-10-03 00:12:51 +00:00
jlam
1a280185e1 Mechanical changes to package PLISTs to make use of LIBTOOLIZE_PLIST.
All library names listed by *.la files no longer need to be listed
in the PLIST, e.g., instead of:

	lib/libfoo.a
	lib/libfoo.la
	lib/libfoo.so
	lib/libfoo.so.0
	lib/libfoo.so.0.1

one simply needs:

	lib/libfoo.la

and bsd.pkg.mk will automatically ensure that the additional library
names are listed in the installed package +CONTENTS file.

Also make LIBTOOLIZE_PLIST default to "yes".
2004-09-22 08:09:14 +00:00
snj
1e392a27ad No longer used. 2004-04-12 00:00:49 +00:00
jmmv
614c911808 Initial addition, used by sablevm ATM. 2004-03-28 20:46:52 +00:00
jmmv
2b07fc26d8 s/@netbsd.org/@NetBSD.org/ in MAINTAINER. 2003-12-24 09:53:47 +00:00
agc
1d24ee8302 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.
2003-07-18 12:39:40 +00:00