diff options
author | 2024-11-25 13:01:00 +0100 | |
---|---|---|
committer | 2024-11-27 14:51:25 +0000 | |
commit | 96240d86955b51f9a494bd46ce064a7517aac7ab (patch) | |
tree | 831a5fa94175f45ff61a0efbfc9fa69baa4219fd | |
parent | 692ecec9c65ff324ceaa3fe3462b314394390df0 (diff) | |
download | openembedded-core-96240d86955b51f9a494bd46ce064a7517aac7ab.tar.gz |
gawk: upgrade 5.3.0 -> 5.3.1
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/recipes-extended/gawk/gawk/0001-configure.ac-re-enable-disabled-printf-features.patch | 35 | ||||
-rw-r--r-- | meta/recipes-extended/gawk/gawk/0001-m4-readline-add-missing-includes.patch | 38 | ||||
-rw-r--r-- | meta/recipes-extended/gawk/gawk_5.3.1.bb (renamed from meta/recipes-extended/gawk/gawk_5.3.0.bb) | 4 |
3 files changed, 37 insertions, 40 deletions
diff --git a/meta/recipes-extended/gawk/gawk/0001-configure.ac-re-enable-disabled-printf-features.patch b/meta/recipes-extended/gawk/gawk/0001-configure.ac-re-enable-disabled-printf-features.patch new file mode 100644 index 0000000000..4fe60c7cb8 --- /dev/null +++ b/meta/recipes-extended/gawk/gawk/0001-configure.ac-re-enable-disabled-printf-features.patch @@ -0,0 +1,35 @@ +From 879fb11c7c006a8533a092fb75b38d84cc570d83 Mon Sep 17 00:00:00 2001 +From: Alexander Kanavin <alex@linutronix.de> +Date: Fri, 22 Nov 2024 12:13:58 +0100 +Subject: [PATCH] configure.ac: re-enable disabled printf features + +This is needed for ptests to pass for one thing. + +Upstream-Status: Inappropriate [needs a config option] +Signed-off-by: Alexander Kanavin <alex@linutronix.de> +--- + configure.ac | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/configure.ac b/configure.ac +index cb99ffe..5fe792f 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -398,7 +398,7 @@ int main() + ])], + has_f_format=yes, + has_f_format=no, +- has_f_format=no dnl Cross-compiling, assuming the worst. ++ has_f_format=yes dnl Cross-compiling in oe-core + ) + if test "$has_f_format" = yes + then +@@ -427,7 +427,7 @@ int main() + ])], + has_a_format=yes, + has_a_format=no, +- has_a_format=no dnl Cross-compiling, assuming the worst. ++ has_a_format=yes dnl Cross-compiling in oe-core + ) + if test "$has_a_format" = yes + then diff --git a/meta/recipes-extended/gawk/gawk/0001-m4-readline-add-missing-includes.patch b/meta/recipes-extended/gawk/gawk/0001-m4-readline-add-missing-includes.patch deleted file mode 100644 index 6fffd1f373..0000000000 --- a/meta/recipes-extended/gawk/gawk/0001-m4-readline-add-missing-includes.patch +++ /dev/null @@ -1,38 +0,0 @@ -From 4f4e84f139e2a8682f1374a592f2636c43ad857b Mon Sep 17 00:00:00 2001 -From: Ross Burton <ross.burton@arm.com> -Date: Tue, 21 May 2024 15:10:11 +0000 -Subject: [PATCH] m4/readline: add missing includes - -The cross-specific code fragment only includes stdio.h, where the native -fragment also includes fcntl.h and unistd.h. This is important because -GCC 14.1 has made the implicit definitions an error: - -conftest.c: In function 'main': -conftest.c:144:9: error: implicit declaration of function 'close'; did you mean 'pclose'? [-Wimplicit-function-declaration] -conftest.c:146:14: error: implicit declaration of function 'open'; did you mean 'popen'? [-Wimplicit-function-declaration] - -Add the missing includes so that the check doesn't always fail due to -these errors. - -Upstream-Status: Backport [https://git.savannah.gnu.org/cgit/gawk.git/commit/?id=c1613c310d71b87f509458e0259ecd10eda2b140] -Signed-off-by: Ross Burton <ross.burton@arm.com> ---- - m4/readline.m4 | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/m4/readline.m4 b/m4/readline.m4 -index 38f96326..efd52d4e 100644 ---- a/m4/readline.m4 -+++ b/m4/readline.m4 -@@ -66,6 +66,8 @@ dnl action if false: - dnl action if cross compiling: - [AC_LINK_IFELSE( - [AC_LANG_PROGRAM([[#include <stdio.h> -+#include <fcntl.h> -+#include <unistd.h> - #include <readline/readline.h> - #include <readline/history.h>]], dnl includes - dnl function body --- -2.34.1 - diff --git a/meta/recipes-extended/gawk/gawk_5.3.0.bb b/meta/recipes-extended/gawk/gawk_5.3.1.bb index ac9d8500d6..bd72fbf280 100644 --- a/meta/recipes-extended/gawk/gawk_5.3.0.bb +++ b/meta/recipes-extended/gawk/gawk_5.3.1.bb @@ -16,11 +16,11 @@ PACKAGECONFIG[readline] = "--with-readline,--without-readline,readline" PACKAGECONFIG[mpfr] = "--with-mpfr,--without-mpfr, mpfr" SRC_URI = "${GNU_MIRROR}/gawk/gawk-${PV}.tar.gz \ - file://0001-m4-readline-add-missing-includes.patch \ file://run-ptest \ + file://0001-configure.ac-re-enable-disabled-printf-features.patch \ " -SRC_URI[sha256sum] = "378f8864ec21cfceaa048f7e1869ac9b4597b449087caf1eb55e440d30273336" +SRC_URI[sha256sum] = "fa41b3a85413af87fb5e3a7d9c8fa8d4a20728c67651185bb49c38a7f9382b1e" inherit autotools gettext texinfo update-alternatives |