summaryrefslogtreecommitdiffstats
path: root/meta/recipes-gnome/libffi
diff options
context:
space:
mode:
authorTudor Florea <tudor.florea@enea.com>2015-10-09 22:59:03 +0200
committerTudor Florea <tudor.florea@enea.com>2015-10-09 22:59:03 +0200
commit972dcfcdbfe75dcfeb777150c136576cf1a71e99 (patch)
tree97a61cd7e293d7ae9d56ef7ed0f81253365bb026 /meta/recipes-gnome/libffi
downloadpoky-972dcfcdbfe75dcfeb777150c136576cf1a71e99.tar.gz
initial commit for Enea Linux 5.0 arm
Signed-off-by: Tudor Florea <tudor.florea@enea.com>
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.1.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 0000000000..0a49ab5020
--- /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.1.bb b/meta/recipes-gnome/libffi/libffi_3.1.bb
new file mode 100644
index 0000000000..bc97aba20b
--- /dev/null
+++ b/meta/recipes-gnome/libffi/libffi_3.1.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=3610bb17683a0089ed64055416b2ae1b"
11
12SRC_URI = "ftp://sourceware.org/pub/libffi/${BP}.tar.gz \
13 file://fix-libffi.la-location.patch"
14
15SRC_URI[md5sum] = "f5898b29bbfd70502831a212d9249d10"
16SRC_URI[sha256sum] = "97feeeadca5e21870fa4433bc953d1b3af3f698d5df8a428f68b73cd60aef6eb"
17
18EXTRA_OECONF += "--disable-builddir"
19
20inherit autotools texinfo
21
22FILES_${PN}-dev += "${libdir}/libffi-${PV}"
23
24BBCLASSEXTEND = "native nativesdk"