./devel/libffi, Foreign function interface

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: pkgsrc-2017Q2, Version: 3.2.1nb4, Package name: libffi-3.2.1nb4, Maintainer: asau

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.


Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: 280c265b789e041c02e5c97815793dfc283fb1e6
RMD160: 9b546a3d002380bec3f00d86fc47d730abf51dfd
Filesize: 918.786 KB

Version history: (Expand)


CVS history: (Expand)


   2017-09-16 18:17:03 by S.P.Zeidler | Files touched by this commit (3)
Log message:
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