From 0ea9b851f3d7ca568b536c7980730ea03333d037 Mon Sep 17 00:00:00 2001 From: Wang Mingyu Date: Wed, 28 Feb 2024 15:32:16 +0800 Subject: libffi: upgrade 3.4.5 -> 3.4.6 meta/recipes-support/libffi/libffi/not-win32.patch refreshed for 3.4.6 Changelog: =========== -chore: update version to 3.4.6 and fix long double regression on mips64 and alpha -Update sparc64 host -Update cfarm hostnames -Always define long double types -update copyright year in libffi.texi -Update version, copyright and testsuite info -Fix test filename reference Signed-off-by: Wang Mingyu Signed-off-by: Richard Purdie --- meta/recipes-support/libffi/libffi/not-win32.patch | 7 ++--- meta/recipes-support/libffi/libffi_3.4.5.bb | 32 ---------------------- meta/recipes-support/libffi/libffi_3.4.6.bb | 32 ++++++++++++++++++++++ 3 files changed, 35 insertions(+), 36 deletions(-) delete mode 100644 meta/recipes-support/libffi/libffi_3.4.5.bb create mode 100644 meta/recipes-support/libffi/libffi_3.4.6.bb (limited to 'meta/recipes-support') diff --git a/meta/recipes-support/libffi/libffi/not-win32.patch b/meta/recipes-support/libffi/libffi/not-win32.patch index 38f9b0025c..f4ed839ed8 100644 --- a/meta/recipes-support/libffi/libffi/not-win32.patch +++ b/meta/recipes-support/libffi/libffi/not-win32.patch @@ -1,4 +1,4 @@ -From 20bc4e03442e15965ae3907013e9a177878f0323 Mon Sep 17 00:00:00 2001 +From be9d4cc110c159812699780348686da371296b94 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 @@ -15,16 +15,15 @@ As this block is generally pointless, disable it. Upstream-Status: Inappropriate Signed-off-by: Ross Burton - --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac -index 7e8cd98..cf37e88 100644 +index 816bfd6..e37c5a8 100644 --- a/configure.ac +++ b/configure.ac -@@ -405,7 +405,7 @@ AC_ARG_ENABLE(multi-os-directory, +@@ -401,7 +401,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.5.bb b/meta/recipes-support/libffi/libffi_3.4.5.bb deleted file mode 100644 index be96c894e2..0000000000 --- a/meta/recipes-support/libffi/libffi_3.4.5.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] = "96fff4e589e3b239d888d9aa44b3ff30693c2ba1617f953925a70ddebcc102b2" - -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.4.6.bb b/meta/recipes-support/libffi/libffi_3.4.6.bb new file mode 100644 index 0000000000..a6857a3981 --- /dev/null +++ b/meta/recipes-support/libffi/libffi_3.4.6.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=1db54c9fd307a12218766c3c7f650ca7" + +SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/${BPN}-${PV}.tar.gz \ + file://not-win32.patch \ + " +SRC_URI[sha256sum] = "b0dea9df23c863a7a50e825440f3ebffabd65df1497108e5d437747843895a4e" + +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 1.2.3-korg