From: Hongxu Jia <hongxu.jia@windriver.com>
To: <openembedded-core@lists.openembedded.org>
Subject: [PATCH 02/19] ncurses: upgrade 6.5 -> 6.6
Date: Tue, 3 Mar 2026 14:56:23 +0800 [thread overview]
Message-ID: <20260303065640.2541884-2-hongxu.jia@windriver.com> (raw)
In-Reply-To: <20260303065640.2541884-1-hongxu.jia@windriver.com>
License-Update: copyright years updated
Delete backport patch
- CVE-2025-6141.patch
Announcing ncurses 6.6:
https://lists.gnu.org/archive/html/info-gnu/2025-12/msg00010.html
Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
---
.../ncurses/files/0001-tic-hang.patch | 6 ++---
.../files/0002-configure-reproducible.patch | 6 ++---
...-Do-not-include-LDFLAGS-in-generated.patch | 4 +--
.../ncurses/files/CVE-2025-6141.patch | 25 -------------------
.../ncurses/files/exit_prototype.patch | 10 ++++----
meta/recipes-core/ncurses/ncurses.inc | 2 +-
.../{ncurses_6.5.bb => ncurses_6.6.bb} | 3 +--
7 files changed, 15 insertions(+), 41 deletions(-)
delete mode 100644 meta/recipes-core/ncurses/files/CVE-2025-6141.patch
rename meta/recipes-core/ncurses/{ncurses_6.5.bb => ncurses_6.6.bb} (85%)
diff --git a/meta/recipes-core/ncurses/files/0001-tic-hang.patch b/meta/recipes-core/ncurses/files/0001-tic-hang.patch
index 8cb92a3939..b852bf72d2 100644
--- a/meta/recipes-core/ncurses/files/0001-tic-hang.patch
+++ b/meta/recipes-core/ncurses/files/0001-tic-hang.patch
@@ -1,4 +1,4 @@
-From a51a53f0eecfd4d083aba8dfcd47c65e93978ff1 Mon Sep 17 00:00:00 2001
+From 055c095e9b7c850dfb1ad7cf8e334f38fa9ba2c3 Mon Sep 17 00:00:00 2001
From: Hongxu Jia <hongxu.jia@windriver.com>
Date: Fri, 30 Mar 2018 10:02:24 +0800
Subject: [PATCH] tic hang
@@ -17,10 +17,10 @@ Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/misc/terminfo.src b/misc/terminfo.src
-index 5d575b8e..f9cc6880 100644
+index f111e534..6e862729 100644
--- a/misc/terminfo.src
+++ b/misc/terminfo.src
-@@ -6518,12 +6518,11 @@ konsole-xf3x|KDE console window with keyboard for XFree86 3.x xterm,
+@@ -6644,12 +6644,11 @@ konsole-xf3x|KDE console window with keyboard for XFree86 3.x xterm,
# The value for kbs (see konsole-vt100) reflects local customization rather
# than the settings used for XFree86 xterm.
konsole-xf4x|KDE console window with keyboard for XFree86 4.x xterm,
diff --git a/meta/recipes-core/ncurses/files/0002-configure-reproducible.patch b/meta/recipes-core/ncurses/files/0002-configure-reproducible.patch
index 11ca66c8e8..66812f75e5 100644
--- a/meta/recipes-core/ncurses/files/0002-configure-reproducible.patch
+++ b/meta/recipes-core/ncurses/files/0002-configure-reproducible.patch
@@ -1,4 +1,4 @@
-From 63cf58044f4ab3297c5a2d0e132e87ebfa80c753 Mon Sep 17 00:00:00 2001
+From 58bec4533de00e0b765d8db496f9e20e4efca518 Mon Sep 17 00:00:00 2001
From: Hongxu Jia <hongxu.jia@windriver.com>
Date: Wed, 16 Aug 2017 14:45:27 +0800
Subject: [PATCH] configure: reproducible
@@ -18,10 +18,10 @@ Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure b/configure
-index 488d93fc..005d44e2 100755
+index 48ad381f..c816cbe1 100755
--- a/configure
+++ b/configure
-@@ -5129,7 +5129,7 @@ else
+@@ -5422,7 +5422,7 @@ else
;;
(*)
cf_cv_ar_flags=unknown
diff --git a/meta/recipes-core/ncurses/files/0003-gen-pkgconfig.in-Do-not-include-LDFLAGS-in-generated.patch b/meta/recipes-core/ncurses/files/0003-gen-pkgconfig.in-Do-not-include-LDFLAGS-in-generated.patch
index d89399bbe5..e004d7950a 100644
--- a/meta/recipes-core/ncurses/files/0003-gen-pkgconfig.in-Do-not-include-LDFLAGS-in-generated.patch
+++ b/meta/recipes-core/ncurses/files/0003-gen-pkgconfig.in-Do-not-include-LDFLAGS-in-generated.patch
@@ -1,4 +1,4 @@
-From 5962a5ee2885f67a396f7e8955ac1bbd7f15d4aa Mon Sep 17 00:00:00 2001
+From ce86a223b09b27981fb3d5ef32672612f0c2eae7 Mon Sep 17 00:00:00 2001
From: Nathan Rossi <nathan@nathanrossi.com>
Date: Mon, 14 Dec 2020 13:39:02 +1000
Subject: [PATCH] gen-pkgconfig.in: Do not include LDFLAGS in generated pc
@@ -15,7 +15,7 @@ Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/misc/gen-pkgconfig.in b/misc/gen-pkgconfig.in
-index 89a5cd4a..07d94d17 100644
+index c369dd26..abca88fe 100644
--- a/misc/gen-pkgconfig.in
+++ b/misc/gen-pkgconfig.in
@@ -83,7 +83,7 @@ if [ "$includedir" != "/usr/include" ]; then
diff --git a/meta/recipes-core/ncurses/files/CVE-2025-6141.patch b/meta/recipes-core/ncurses/files/CVE-2025-6141.patch
deleted file mode 100644
index ec7e8a94e4..0000000000
--- a/meta/recipes-core/ncurses/files/CVE-2025-6141.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-From 27d1493340d714e7be6e08c0a8f43e48276149c4 Mon Sep 17 00:00:00 2001
-From: "Thomas E. Dickey" <dickey@invisible-island.net>
-Date: Sat, 29 Mar 2025 22:52:37 +0000
-Subject: [PATCH] snapshot of project "ncurses", label v6_5_20250329
-
-CVE: CVE-2025-6141
-Upstream-Status: Backport [https://github.com/ThomasDickey/ncurses-snapshots/commit/27d1493340d714e7be6e08c0a8f43e48276149c4]
-Signed-off-by: Peter Marko <peter.marko@siemens.com>
----
- ncurses/tinfo/parse_entry.c | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/ncurses/tinfo/parse_entry.c b/ncurses/tinfo/parse_entry.c
-index a2278c07..c551c780 100644
---- a/ncurses/tinfo/parse_entry.c
-+++ b/ncurses/tinfo/parse_entry.c
-@@ -985,6 +985,8 @@ postprocess_termcap(TERMTYPE2 *tp, bool has_base)
- bp = tp->Strings[from_ptr->nte_index];
- if (VALID_STRING(bp)) {
- for (dp = buf2; *bp; bp++) {
-+ if ((size_t) (dp - buf2) >= (sizeof(buf2) - sizeof(TERMTYPE2)))
-+ break;
- if (bp[0] == '$' && bp[1] == '<') {
- while (*bp && *bp != '>') {
- ++bp;
diff --git a/meta/recipes-core/ncurses/files/exit_prototype.patch b/meta/recipes-core/ncurses/files/exit_prototype.patch
index 299852d2c0..0aa7fb22bb 100644
--- a/meta/recipes-core/ncurses/files/exit_prototype.patch
+++ b/meta/recipes-core/ncurses/files/exit_prototype.patch
@@ -1,4 +1,4 @@
-From af798dceafec8a9ea3f83fc250d784511ca0a29c Mon Sep 17 00:00:00 2001
+From 5ed47758886dabe74ff1709137cfc8ea1a4dc3e4 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Tue, 30 Aug 2022 15:58:32 -0700
Subject: [PATCH] Add needed headers for including mbstate_t and exit()
@@ -10,18 +10,18 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
1 file changed, 2 insertions(+)
diff --git a/configure b/configure
-index 005d44e2..72fa6c23 100755
+index c816cbe1..c4e1e14a 100755
--- a/configure
+++ b/configure
-@@ -3462,6 +3462,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext"
+@@ -3769,6 +3769,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext"
cat >"conftest.$ac_ext" <<_ACEOF
- #line 3463 "configure"
+ #line 3770 "configure"
#include "confdefs.h"
+#include <stdlib.h>
$ac_declaration
int
main (void)
-@@ -13533,6 +13534,7 @@ cat >"conftest.$ac_ext" <<_ACEOF
+@@ -13903,6 +13904,7 @@ cat >"conftest.$ac_ext" <<_ACEOF
#include <stdlib.h>
#include <stdarg.h>
#include <stdio.h>
diff --git a/meta/recipes-core/ncurses/ncurses.inc b/meta/recipes-core/ncurses/ncurses.inc
index 8482db7f6e..12b9b71c66 100644
--- a/meta/recipes-core/ncurses/ncurses.inc
+++ b/meta/recipes-core/ncurses/ncurses.inc
@@ -2,7 +2,7 @@ SUMMARY = "The New Curses library"
DESCRIPTION = "SVr4 and XSI-Curses compatible curses library and terminfo tools including tic, infocmp, captoinfo. Supports color, multiple highlights, forms-drawing characters, and automatic recognition of keypad and function-key sequences. Extensions include resizable windows and mouse support on both xterm and Linux console using the gpm library."
HOMEPAGE = "http://www.gnu.org/software/ncurses/ncurses.html"
LICENSE = "MIT"
-LIC_FILES_CHKSUM = "file://COPYING;md5=6f291ee54551d9d8d992ecd623fe4bc7;endline=27"
+LIC_FILES_CHKSUM = "file://COPYING;endline=27;md5=c534844fa5a74d14ae8fa3d9b3b42138"
SECTION = "libs"
DEPENDS = "ncurses-native"
DEPENDS:class-native = ""
diff --git a/meta/recipes-core/ncurses/ncurses_6.5.bb b/meta/recipes-core/ncurses/ncurses_6.6.bb
similarity index 85%
rename from meta/recipes-core/ncurses/ncurses_6.5.bb
rename to meta/recipes-core/ncurses/ncurses_6.6.bb
index eccc1c1809..cfa02c7273 100644
--- a/meta/recipes-core/ncurses/ncurses_6.5.bb
+++ b/meta/recipes-core/ncurses/ncurses_6.6.bb
@@ -4,10 +4,9 @@ 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 \
- file://CVE-2025-6141.patch \
"
# commit id corresponds to the revision in package version
-SRCREV = "1c55d64d9d3e00399a21f04e9cac1e472ab5f70a"
+SRCREV = "a1c9c082bbe6ac18d96eb2e1ee2146e1665deaf8"
EXTRA_OECONF += "--with-abi-version=5"
UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+_\d+)$"
--
2.34.1
next prev parent reply other threads:[~2026-03-03 6:56 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-03-03 6:56 [PATCH 01/19] btrfs-tools: upgrade 6.17.1 -> 6.19 Hongxu Jia
2026-03-03 6:56 ` Hongxu Jia [this message]
2026-03-04 8:00 ` [OE-core] [PATCH 02/19] ncurses: upgrade 6.5 -> 6.6 Mathieu Dubois-Briand
2026-03-04 8:03 ` Hongxu Jia
[not found] ` <189994AF67AC963D.971272@lists.openembedded.org>
2026-03-04 10:26 ` Hongxu Jia
2026-03-03 6:56 ` [PATCH 03/19] connman: upgrade 1.45 -> 2.0 Hongxu Jia
2026-03-03 6:56 ` [PATCH 04/19] ell: upgrade 0.81 -> 0.82 Hongxu Jia
2026-03-03 6:56 ` [PATCH 05/19] font-alias: upgrade 1.0.5 -> 1.0.6 Hongxu Jia
2026-03-03 6:56 ` [PATCH 06/19] gn: upgrade to latest revision Hongxu Jia
2026-03-03 7:16 ` Patchtest results for " patchtest
2026-03-03 6:56 ` [PATCH 07/19] openssl: upgrade 3.5.5 -> 3.6.1 Hongxu Jia
2026-03-03 7:05 ` [OE-core] " Marko, Peter
2026-03-03 7:10 ` Hongxu Jia
2026-03-03 6:56 ` [PATCH 08/19] python3-cryptography{-vectors}: 46.0.4 -> 46.0.5 Hongxu Jia
2026-03-03 7:16 ` Patchtest results for " patchtest
2026-03-03 6:56 ` [PATCH 09/19] python3-hypothesis: upgrade 6.151.4 -> 6.151.9 Hongxu Jia
2026-03-03 6:56 ` [PATCH 10/19] python3-markdown: upgrade 3.10.1 -> 3.10.2 Hongxu Jia
2026-03-03 6:56 ` [PATCH 11/19] python3-pip: upgrade 26.0 -> 26.0.1 Hongxu Jia
2026-03-03 6:56 ` [PATCH 12/19] python3-pycparser: upgrade 2.23 -> 3.0 Hongxu Jia
2026-03-03 7:16 ` Patchtest results for " patchtest
2026-03-03 6:56 ` [PATCH 13/19] python3-pyproject-metadata: upgrade 0.10.0 -> 0.11.0 Hongxu Jia
2026-03-03 6:56 ` [PATCH 14/19] python3-setuptools: upgrade 80.9.0 -> 82.0.0 Hongxu Jia
2026-03-03 19:11 ` [OE-core] " Mathieu Dubois-Briand
2026-03-04 2:27 ` Hongxu Jia
[not found] ` <1899825EC78E920E.971272@lists.openembedded.org>
2026-03-04 3:37 ` Hongxu Jia
2026-03-03 6:56 ` [PATCH 15/19] python3-testtools: upgrade 2.8.2 -> 2.8.3 Hongxu Jia
2026-03-03 7:16 ` Patchtest results for " patchtest
2026-03-03 6:56 ` [PATCH 16/19] python3-trove-classifiers: upgrade 2025.12.1.14 -> 2026.1.14.14 Hongxu Jia
2026-03-03 6:56 ` [PATCH 17/19] python3-uv-build: upgrade 0.9.28 -> 0.10.4 Hongxu Jia
2026-03-03 6:56 ` [PATCH 18/19] python3-xmltodict: upgrade 1.0.2 -> 1.0.3 Hongxu Jia
2026-03-03 6:56 ` [PATCH 19/19] xauth: upgrade 1.1.4 -> 1.1.5 Hongxu Jia
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260303065640.2541884-2-hongxu.jia@windriver.com \
--to=hongxu.jia@windriver.com \
--cc=openembedded-core@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox