From: Wang Mingyu <[email protected]> 0001-fix-c99.patch refreshed for 5.2.37
Signed-off-by: Wang Mingyu <[email protected]> --- .../bash/bash/0001-fix-c99.patch | 41 ------------------- .../bash/{bash_5.2.32.bb => bash_5.2.37.bb} | 3 +- 2 files changed, 1 insertion(+), 43 deletions(-) delete mode 100644 meta/recipes-extended/bash/bash/0001-fix-c99.patch rename meta/recipes-extended/bash/{bash_5.2.32.bb => bash_5.2.37.bb} (87%) diff --git a/meta/recipes-extended/bash/bash/0001-fix-c99.patch b/meta/recipes-extended/bash/bash/0001-fix-c99.patch deleted file mode 100644 index abd83d09af..0000000000 --- a/meta/recipes-extended/bash/bash/0001-fix-c99.patch +++ /dev/null @@ -1,41 +0,0 @@ -From e8ec2d75a52bdc93c83a679a71a68f4033033b8b Mon Sep 17 00:00:00 2001 -From: Ross Burton <[email protected]> -Date: Wed, 19 Jun 2024 12:57:39 +0000 -Subject: [PATCH] Fix C99 problems - -Backport some fixes from upstream to fix configure checks that fail with GCC 14.1. - -Upstream-Status: Backport [devel branch] -Signed-off-by: Ross Burton <[email protected]> ---- - aclocal.m4 | 3 +++ - configure.ac | 2 +- - 2 files changed, 4 insertions(+), 1 deletion(-) - -diff --git a/aclocal.m4 b/aclocal.m4 -index cc97bd4..7423b99 100644 ---- a/aclocal.m4 -+++ b/aclocal.m4 -@@ -238,6 +238,9 @@ AC_CACHE_VAL(bash_cv_dup2_broken, - #include <sys/types.h> - #include <fcntl.h> - #include <stdlib.h> -+#ifdef HAVE_UNISTD_H -+# include <unistd.h> -+#endif /* HAVE_UNISTD_H */ - int - main() - { -diff --git a/configure.ac b/configure.ac -index a3b5bd7..2a38c6b 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -842,7 +842,7 @@ AC_CHECK_DECLS([strtold], [ - [AC_COMPILE_IFELSE( - [AC_LANG_PROGRAM( - [[#include <stdlib.h>]], -- [[long double r; char *foo, bar; r = strtold(foo, &bar);]] -+ [[long double r; char *foo, *bar; r = strtold(foo, &bar);]] - )], - [bash_cv_strtold_broken=no],[bash_cv_strtold_broken=yes]) - ] diff --git a/meta/recipes-extended/bash/bash_5.2.32.bb b/meta/recipes-extended/bash/bash_5.2.37.bb similarity index 87% rename from meta/recipes-extended/bash/bash_5.2.32.bb rename to meta/recipes-extended/bash/bash_5.2.37.bb index b159c0232f..3dcaefa374 100644 --- a/meta/recipes-extended/bash/bash_5.2.32.bb +++ b/meta/recipes-extended/bash/bash_5.2.37.bb @@ -14,10 +14,9 @@ SRC_URI = "${GNU_MIRROR}/bash/${BP}.tar.gz;name=tarball \ file://use_aclocal.patch \ file://0001-changes-to-SIGINT-handler-while-waiting-for-a-child-.patch \ file://fix-filesubst-errexit.patch \ - file://0001-fix-c99.patch \ " -SRC_URI[tarball.sha256sum] = "d3ef80d2b67d8cbbe4d3265c63a72c46f9b278ead6e0e06d61801b58f23f50b5" +SRC_URI[tarball.sha256sum] = "9599b22ecd1d5787ad7d3b7bf0c59f312b3396d1e281175dd1f8a4014da621ff" DEBUG_OPTIMIZATION:append:armv4 = " ${@bb.utils.contains('TUNE_CCARGS', '-mthumb', '-fomit-frame-pointer', '', d)}" DEBUG_OPTIMIZATION:append:armv5 = " ${@bb.utils.contains('TUNE_CCARGS', '-mthumb', '-fomit-frame-pointer', '', d)}" -- 2.34.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#206316): https://lists.openembedded.org/g/openembedded-core/message/206316 Mute This Topic: https://lists.openembedded.org/mt/109203584/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
