diff mbox series

ncurses: update to latest version

Message ID 1737676843-10340-1-git-send-email-wangmy@fujitsu.com
State New
Headers show
Series ncurses: update to latest version | expand

Commit Message

Mingyu Wang (Fujitsu) Jan. 24, 2025, midnight UTC
From: Wang Mingyu <wangmy@fujitsu.com>

exit_prototype.patch
removed since it's included in latest version.

License-Update: Copyright year updated to 2025

Changelog:
==========
- improve pattern used for configure --with-xterm-kbs option
- update configure macros, from work on cdk and dialog.
- change a parameter name in curs_sp_funcs.3x, for consistency
- improve formatting/style of manpages
- change winwstr() to a generated function, using the macro definition,
- moving its handling of negative length parameter into winnwstr().
- correct actual-function name in a few trace calls.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
---
 .../ncurses/files/exit_prototype.patch        | 31 -------------------
 meta/recipes-core/ncurses/ncurses.inc         |  2 +-
 meta/recipes-core/ncurses/ncurses_6.5.bb      |  3 +-
 3 files changed, 2 insertions(+), 34 deletions(-)
 delete mode 100644 meta/recipes-core/ncurses/files/exit_prototype.patch
diff mbox series

Patch

diff --git a/meta/recipes-core/ncurses/files/exit_prototype.patch b/meta/recipes-core/ncurses/files/exit_prototype.patch
deleted file mode 100644
index 299852d2c0..0000000000
--- a/meta/recipes-core/ncurses/files/exit_prototype.patch
+++ /dev/null
@@ -1,31 +0,0 @@ 
-From af798dceafec8a9ea3f83fc250d784511ca0a29c 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()
-
-Upstream-Status: Inappropriate [Reconfigure will solve it]
-Signed-off-by: Khem Raj <raj.khem@gmail.com>
----
- configure | 2 ++
- 1 file changed, 2 insertions(+)
-
-diff --git a/configure b/configure
-index 005d44e2..72fa6c23 100755
---- a/configure
-+++ b/configure
-@@ -3462,6 +3462,7 @@ rm -f "conftest.$ac_objext" "conftest.$ac_ext"
-   cat >"conftest.$ac_ext" <<_ACEOF
- #line 3463 "configure"
- #include "confdefs.h"
-+#include <stdlib.h>
- $ac_declaration
- int
- main (void)
-@@ -13533,6 +13534,7 @@ cat >"conftest.$ac_ext" <<_ACEOF
- #include <stdlib.h>
- #include <stdarg.h>
- #include <stdio.h>
-+#include <wchar.h>
- #ifdef HAVE_LIBUTF8_H
- #include <libutf8.h>
- #endif
diff --git a/meta/recipes-core/ncurses/ncurses.inc b/meta/recipes-core/ncurses/ncurses.inc
index e96ee075bd..d5d53359f3 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;md5=c534844fa5a74d14ae8fa3d9b3b42138;endline=27"
 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.5.bb
index 2e3ee337ea..708aeeb446 100644
--- a/meta/recipes-core/ncurses/ncurses_6.5.bb
+++ b/meta/recipes-core/ncurses/ncurses_6.5.bb
@@ -3,10 +3,9 @@  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 = "1c55d64d9d3e00399a21f04e9cac1e472ab5f70a"
+SRCREV = "752b540280a58c0ba0cc048e88518667409c1429"
 S = "${WORKDIR}/git"
 EXTRA_OECONF += "--with-abi-version=5"
 UPSTREAM_CHECK_GITTAGREGEX = "v(?P<pver>\d+_\d+)$"