From 926e352d7445766685af9fd85f1b99811162ddd9 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Mon, 16 Jun 2025 17:16:24 +0800 Subject: libffi: upgrade 3.4.8 -> 3.5.1 License-Update: Copyright year updated to 2025 not-win32.patch refreshed for 3.5.1 (From OE-Core rev: 4c32496a8b89cb1355672d6b7159aff09c69797b) Signed-off-by: Wang Mingyu Signed-off-by: Richard Purdie --- meta/recipes-support/libffi/libffi/not-win32.patch | 6 ++-- meta/recipes-support/libffi/libffi_3.4.8.bb | 32 ---------------------- meta/recipes-support/libffi/libffi_3.5.1.bb | 32 ++++++++++++++++++++++ 3 files changed, 35 insertions(+), 35 deletions(-) delete mode 100644 meta/recipes-support/libffi/libffi_3.4.8.bb create mode 100644 meta/recipes-support/libffi/libffi_3.5.1.bb diff --git a/meta/recipes-support/libffi/libffi/not-win32.patch b/meta/recipes-support/libffi/libffi/not-win32.patch index 8efeb9c357..26263731f3 100644 --- a/meta/recipes-support/libffi/libffi/not-win32.patch +++ b/meta/recipes-support/libffi/libffi/not-win32.patch @@ -1,4 +1,4 @@ -From d7263091bbea40fd97d4fccd295c0ea4f5a80ad7 Mon Sep 17 00:00:00 2001 +From 28d0fd6b73163fc2dbc10c7dc838a8222671f88c Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Thu, 4 Feb 2016 16:22:50 +0000 Subject: [PATCH] libffi: ensure sysroot paths are not in libffi.pc @@ -20,10 +20,10 @@ Signed-off-by: Ross Burton 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac -index f047895..630bdd5 100644 +index 258107d..ef1a285 100644 --- a/configure.ac +++ b/configure.ac -@@ -402,7 +402,7 @@ AC_ARG_ENABLE(multi-os-directory, +@@ -403,7 +403,7 @@ AC_ARG_ENABLE(multi-os-directory, # These variables are only ever used when we cross-build to X86_WIN32. # And we only support this with GCC, so... diff --git a/meta/recipes-support/libffi/libffi_3.4.8.bb b/meta/recipes-support/libffi/libffi_3.4.8.bb deleted file mode 100644 index 7f927c650b..0000000000 --- a/meta/recipes-support/libffi/libffi_3.4.8.bb +++ /dev/null @@ -1,32 +0,0 @@ -SUMMARY = "A portable foreign function interface library" -HOMEPAGE = "http://sourceware.org/libffi/" -DESCRIPTION = "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. 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." - -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://LICENSE;md5=1db54c9fd307a12218766c3c7f650ca7" - -SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/${BPN}-${PV}.tar.gz \ - file://not-win32.patch \ - " -SRC_URI[sha256sum] = "bc9842a18898bfacb0ed1252c4febcc7e78fa139fd27fdc7a3e30d9d9356119b" - -EXTRA_OECONF += "--disable-builddir --disable-exec-static-tramp" -EXTRA_OECONF:class-native += "--with-gcc-arch=generic" -EXTRA_OEMAKE:class-target = "LIBTOOLFLAGS='--tag=CC'" - -inherit autotools texinfo multilib_header github-releases - -do_install:append() { - oe_multilib_header ffi.h ffitarget.h -} - -# Doesn't compile in MIPS16e mode due to use of hand-written -# assembly -MIPS_INSTRUCTION_SET = "mips" - -BBCLASSEXTEND = "native nativesdk" diff --git a/meta/recipes-support/libffi/libffi_3.5.1.bb b/meta/recipes-support/libffi/libffi_3.5.1.bb new file mode 100644 index 0000000000..be16008e0f --- /dev/null +++ b/meta/recipes-support/libffi/libffi_3.5.1.bb @@ -0,0 +1,32 @@ +SUMMARY = "A portable foreign function interface library" +HOMEPAGE = "http://sourceware.org/libffi/" +DESCRIPTION = "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. 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." + +LICENSE = "MIT" +LIC_FILES_CHKSUM = "file://LICENSE;md5=ce4763670c5b7756000561f9af1ab178" + +SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/${BPN}-${PV}.tar.gz \ + file://not-win32.patch \ + " +SRC_URI[sha256sum] = "f99eb68a67c7d54866b7706af245e87ba060d419a062474b456d3bc8d4abdbd1" + +EXTRA_OECONF += "--disable-builddir --disable-exec-static-tramp" +EXTRA_OECONF:class-native += "--with-gcc-arch=generic" +EXTRA_OEMAKE:class-target = "LIBTOOLFLAGS='--tag=CC'" + +inherit autotools texinfo multilib_header github-releases + +do_install:append() { + oe_multilib_header ffi.h ffitarget.h +} + +# Doesn't compile in MIPS16e mode due to use of hand-written +# assembly +MIPS_INSTRUCTION_SET = "mips" + +BBCLASSEXTEND = "native nativesdk" -- cgit v1.2.3-54-g00ecf