From 3c1501a539857d3675e2e2d9dc4d0451bdff341a Mon Sep 17 00:00:00 2001 From: Alexander Kanavin Date: Wed, 8 Feb 2023 08:21:18 +0100 Subject: ncurses: upgrade 6.3+20220423 -> 6.4 (From OE-Core rev: b0d653b443c68b8d254e52790da76496e8f16a7b) Signed-off-by: Alexander Kanavin Signed-off-by: Luca Ceresoli Signed-off-by: Richard Purdie --- meta/recipes-core/ncurses/files/exit_prototype.patch | 18 ++++++++++++++---- meta/recipes-core/ncurses/ncurses_6.3+20220423.bb | 15 --------------- meta/recipes-core/ncurses/ncurses_6.4.bb | 15 +++++++++++++++ 3 files changed, 29 insertions(+), 19 deletions(-) delete mode 100644 meta/recipes-core/ncurses/ncurses_6.3+20220423.bb create mode 100644 meta/recipes-core/ncurses/ncurses_6.4.bb diff --git a/meta/recipes-core/ncurses/files/exit_prototype.patch b/meta/recipes-core/ncurses/files/exit_prototype.patch index 791421a338..fd961512e0 100644 --- a/meta/recipes-core/ncurses/files/exit_prototype.patch +++ b/meta/recipes-core/ncurses/files/exit_prototype.patch @@ -1,18 +1,28 @@ -Add needed headers for including mbstate_t and exit() +From 4a769a441d7e57a23017c3037cde3e53fb9f35fe Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Tue, 30 Aug 2022 15:58:32 -0700 +Subject: [PATCH] Add needed headers for including mbstate_t and exit() Upstream-Status: Inappropriate [Reconfigure will solve it] Signed-off-by: Khem Raj + +--- + configure | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/configure b/configure +index f377f551..163f8899 100755 --- a/configure +++ b/configure -@@ -3422,6 +3422,7 @@ rm -f "conftest.$ac_objext" "conftest.$a +@@ -3423,6 +3423,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext" cat >"conftest.$ac_ext" <<_ACEOF - #line 3423 "configure" + #line 3424 "configure" #include "confdefs.h" +#include $ac_declaration int main (void) -@@ -12997,6 +12998,7 @@ cat >"conftest.$ac_ext" <<_ACEOF +@@ -13111,6 +13112,7 @@ cat >"conftest.$ac_ext" <<_ACEOF #include #include #include diff --git a/meta/recipes-core/ncurses/ncurses_6.3+20220423.bb b/meta/recipes-core/ncurses/ncurses_6.3+20220423.bb deleted file mode 100644 index fb8c11582b..0000000000 --- a/meta/recipes-core/ncurses/ncurses_6.3+20220423.bb +++ /dev/null @@ -1,15 +0,0 @@ -require ncurses.inc - -SRC_URI += "file://0001-tic-hang.patch \ - file://0002-configure-reproducible.patch \ - file://0003-gen-pkgconfig.in-Do-not-include-LDFLAGS-in-generated.patch \ - file://exit_prototype.patch \ - " -# commit id corresponds to the revision in package version -SRCREV = "20db1fb41ec91cd8a1f528e770362092c5403378" -S = "${WORKDIR}/git" -EXTRA_OECONF += "--with-abi-version=5" -UPSTREAM_CHECK_GITTAGREGEX = "(?P\d+(\.\d+)+)$" - -# This is needed when using patchlevel versions like 6.1+20181013 -CVE_VERSION = "${@d.getVar("PV").split('+')[0]}.${@d.getVar("PV").split('+')[1]}" diff --git a/meta/recipes-core/ncurses/ncurses_6.4.bb b/meta/recipes-core/ncurses/ncurses_6.4.bb new file mode 100644 index 0000000000..1eb15673d1 --- /dev/null +++ b/meta/recipes-core/ncurses/ncurses_6.4.bb @@ -0,0 +1,15 @@ +require ncurses.inc + +SRC_URI += "file://0001-tic-hang.patch \ + file://0002-configure-reproducible.patch \ + file://0003-gen-pkgconfig.in-Do-not-include-LDFLAGS-in-generated.patch \ + file://exit_prototype.patch \ + " +# commit id corresponds to the revision in package version +SRCREV = "79b9071f2be20a24c7be031655a5638f6032f29f" +S = "${WORKDIR}/git" +EXTRA_OECONF += "--with-abi-version=5" +UPSTREAM_CHECK_GITTAGREGEX = "(?P\d+(\.\d+)+)$" + +# This is needed when using patchlevel versions like 6.1+20181013 +#CVE_VERSION = "${@d.getVar("PV").split('+')[0]}.${@d.getVar("PV").split('+')[1]}" -- cgit v1.2.3-54-g00ecf