From 85131a5da0736233eda05c91415a9f6dc22900b7 Mon Sep 17 00:00:00 2001 From: Upgrade Helper Date: Thu, 9 Jul 2026 06:11:50 +0000 Subject: [PATCH] libffi: upgrade 3.5.2 -> 3.7.0 --- .../libffi/libffi/not-win32.patch | 6 ++--- .../{libffi_3.5.2.bb => libffi_3.7.0.bb} | 23 +++++++++++++++++-- 2 files changed, 24 insertions(+), 5 deletions(-) rename meta/recipes-support/libffi/{libffi_3.5.2.bb => libffi_3.7.0.bb} (61%) diff --git a/meta/recipes-support/libffi/libffi/not-win32.patch b/meta/recipes-support/libffi/libffi/not-win32.patch index ca76fde855..c0d2487bd6 100644 --- a/meta/recipes-support/libffi/libffi/not-win32.patch +++ b/meta/recipes-support/libffi/libffi/not-win32.patch @@ -1,4 +1,4 @@ -From 28d0fd6b73163fc2dbc10c7dc838a8222671f88c Mon Sep 17 00:00:00 2001 +From 6b96af34d39eb68b2ac0cbc4b04c2a37a60166d7 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 258107d..ef1a285 100644 +index d3bc9fc..963c851 100644 --- a/configure.ac +++ b/configure.ac -@@ -411,7 +411,7 @@ AC_ARG_ENABLE(multi-os-directory, +@@ -429,7 +429,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.5.2.bb b/meta/recipes-support/libffi/libffi_3.7.0.bb similarity index 61% rename from meta/recipes-support/libffi/libffi_3.5.2.bb rename to meta/recipes-support/libffi/libffi_3.7.0.bb index d3aa90d429..cebfbcef74 100644 --- a/meta/recipes-support/libffi/libffi_3.5.2.bb +++ b/meta/recipes-support/libffi/libffi_3.7.0.bb @@ -1,3 +1,22 @@ +# FIXME: the LIC_FILES_CHKSUM values have been updated by 'devtool upgrade'. +# The following is the difference between the old and the new license text. +# Please update the LICENSE value if needed, and summarize the changes in +# the commit message via 'License-Update:' tag. +# (example: 'License-Update: copyright years updated.') +# +# The changes: +# +# --- LICENSE +# +++ LICENSE +# @@ -1,4 +1,4 @@ +# -libffi - Copyright (c) 1996-2025 Anthony Green, Red Hat, Inc and others. +# +libffi - Copyright (c) 1996-2026 Anthony Green, Red Hat, Inc and others. +# See source files for details. +# +# Permission is hereby granted, free of charge, to any person obtaining +# +# + 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 \ @@ -8,12 +27,12 @@ library really only provides the lowest, machine dependent layer of a fully feat 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" +LIC_FILES_CHKSUM = "file://LICENSE;md5=5e9a8df556846bb3d1edec0d968a2311" SRC_URI = "${GITHUB_BASE_URI}/download/v${PV}/${BPN}-${PV}.tar.gz \ file://not-win32.patch \ " -SRC_URI[sha256sum] = "f3a3082a23b37c293a4fcd1053147b371f2ff91fa7ea1b2a52e335676bac82dc" +SRC_URI[sha256sum] = "2255c5a638dfb51bf67c20a12a7bb70d17feb1e9eababac05f5573146f586436" EXTRA_OECONF = "--disable-builddir" EXTRA_OECONF:class-native += "--with-gcc-arch=generic" -- 2.47.1