summaryrefslogtreecommitdiffstats
path: root/meta/recipes-gnome/libffi
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-gnome/libffi')
-rw-r--r--meta/recipes-gnome/libffi/libffi/fix-libffi.la-location.patch18
-rw-r--r--meta/recipes-gnome/libffi/libffi_3.0.13.bb24
2 files changed, 42 insertions, 0 deletions
diff --git a/meta/recipes-gnome/libffi/libffi/fix-libffi.la-location.patch b/meta/recipes-gnome/libffi/libffi/fix-libffi.la-location.patch
new file mode 100644
index 0000000..0a49ab5
--- /dev/null
+++ b/meta/recipes-gnome/libffi/libffi/fix-libffi.la-location.patch
@@ -0,0 +1,18 @@
1
2Upstream-Status: Inaproppriate
3
4Signed-off-by: Saul Wold <sgw@linux.intel.com>
5
6Index: libffi-3.0.13/Makefile.am
7===================================================================
8--- libffi-3.0.13.orig/Makefile.am
9+++ libffi-3.0.13/Makefile.am
10@@ -98,7 +98,7 @@ FLAGS_TO_PASS = $(AM_MAKEFLAGS)
11
12 MAKEOVERRIDES=
13
14-toolexeclib_LTLIBRARIES = libffi.la
15+lib_LTLIBRARIES = libffi.la
16 noinst_LTLIBRARIES = libffi_convenience.la
17
18 libffi_la_SOURCES = src/prep_cif.c src/types.c \
diff --git a/meta/recipes-gnome/libffi/libffi_3.0.13.bb b/meta/recipes-gnome/libffi/libffi_3.0.13.bb
new file mode 100644
index 0000000..db0841e
--- /dev/null
+++ b/meta/recipes-gnome/libffi/libffi_3.0.13.bb
@@ -0,0 +1,24 @@
1SUMMARY = "A portable foreign function interface library"
2DESCRIPTION = "The `libffi' library provides a portable, high level programming interface to various calling \
3conventions. This allows a programmer to call any function specified by a call interface description at run \
4time. FFI stands for Foreign Function Interface. A foreign function interface is the popular name for the \
5interface that allows code written in one language to call code written in another language. The `libffi' \
6library really only provides the lowest, machine dependent layer of a fully featured foreign function interface. \
7A layer must exist above `libffi' that handles type conversions for values passed between the two languages."
8
9LICENSE = "MIT"
10LIC_FILES_CHKSUM = "file://LICENSE;md5=e54c573c49435ccbbd3f6dc9e49a065e"
11
12SRC_URI = "ftp://sourceware.org/pub/libffi/${BPN}-${PV}.tar.gz \
13 file://fix-libffi.la-location.patch"
14
15SRC_URI[md5sum] = "45f3b6dbc9ee7c7dfbbbc5feba571529"
16SRC_URI[sha256sum] = "1dddde1400c3bcb7749d398071af88c3e4754058d2d4c0b3696c2f82dc5cf11c"
17
18EXTRA_OECONF += "--disable-builddir"
19
20inherit autotools
21
22FILES_${PN}-dev += "${libdir}/libffi-${PV}"
23
24BBCLASSEXTEND = "native nativesdk"