Control: tags 994194 + pending Dear maintainer,
I've prepared an NMU for hexcurse (versioned as 1.58-1.4) and uploaded it to DELAYED/1. Please feel free to tell me if I should cancel it. cu Adrian
diff -Nru hexcurse-1.58/debian/changelog hexcurse-1.58/debian/changelog --- hexcurse-1.58/debian/changelog 2020-08-31 21:44:26.000000000 +0300 +++ hexcurse-1.58/debian/changelog 2023-02-06 19:30:13.000000000 +0200 @@ -1,3 +1,11 @@ +hexcurse (1.58-1.4) unstable; urgency=medium + + * Non-maintainer upload. + * Add patch from Sven Joachim to fix FTBFS with newer ncurses. + (Closes: #994194) + + -- Adrian Bunk <b...@debian.org> Mon, 06 Feb 2023 19:30:13 +0200 + hexcurse (1.58-1.3) unstable; urgency=medium * Non-maintainer upload. diff -Nru hexcurse-1.58/debian/patches/0001-Fix-string-format-errors-with-recent-ncurses.patch hexcurse-1.58/debian/patches/0001-Fix-string-format-errors-with-recent-ncurses.patch --- hexcurse-1.58/debian/patches/0001-Fix-string-format-errors-with-recent-ncurses.patch 1970-01-01 02:00:00.000000000 +0200 +++ hexcurse-1.58/debian/patches/0001-Fix-string-format-errors-with-recent-ncurses.patch 2023-02-06 19:30:00.000000000 +0200 @@ -0,0 +1,34 @@ +From 9dec70d033da420ffe77251fc662d9703bf4389e Mon Sep 17 00:00:00 2001 +From: Sven Joachim <svenj...@gmx.de> +Date: Wed, 13 Oct 2021 17:46:54 +0200 +Subject: [PATCH] Fix string format errors with recent ncurses + +--- + src/screen.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/src/screen.c b/src/screen.c +index 5172ccf..f54978b 100644 +--- a/src/screen.c ++++ b/src/screen.c +@@ -487,7 +487,7 @@ void popupWin(char *msg, int time) + + keypad(tmpwin, TRUE); + +- mvwprintw(tmpwin,2,3, msg); /* output mesg */ ++ mvwprintw(tmpwin,2,3, "%s", msg); /* output mesg */ + wmove(tmpwin,2,len+4); + wrefresh(tmpwin); + +@@ -528,7 +528,7 @@ short int questionWin(char *msg) + + tmpwin = drawbox(y, x, 5, len + 6); /* create window */ + +- mvwprintw(tmpwin,2,3, msg); ++ mvwprintw(tmpwin,2,3, "%s", msg); + wmove(tmpwin,2,len+4); + wrefresh(tmpwin); + +-- +2.33.0 + diff -Nru hexcurse-1.58/debian/patches/series hexcurse-1.58/debian/patches/series --- hexcurse-1.58/debian/patches/series 2020-08-31 21:42:46.000000000 +0300 +++ hexcurse-1.58/debian/patches/series 2023-02-06 19:30:10.000000000 +0200 @@ -4,3 +4,4 @@ 0001-fix-format-truncation-error-with-GCC-7.patch fix_ftbfs.patch gcc-10.patch +0001-Fix-string-format-errors-with-recent-ncurses.patch