Dear maintainer,

I've uploaded an NMU for ytree (versioned as 1.99pl1-2.1).
The diff is attached to this message.

cu
Adrian
diff -Nru ytree-1.99pl1/debian/changelog ytree-1.99pl1/debian/changelog
--- ytree-1.99pl1/debian/changelog	2019-07-07 18:24:40.000000000 +0300
+++ ytree-1.99pl1/debian/changelog	2023-02-08 10:57:10.000000000 +0200
@@ -1,3 +1,11 @@
+ytree (1.99pl1-2.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Add patch from Sven Joachim to fix FTBFS with newer ncurses.
+    (Closes: #995480)
+
+ -- Adrian Bunk <b...@debian.org>  Wed, 08 Feb 2023 10:57:10 +0200
+
 ytree (1.99pl1-2) unstable; urgency=medium
 
   * Upload to unstable.
diff -Nru ytree-1.99pl1/debian/patches/0001-Fix-string-format-error-with-recent-ncurses.patch ytree-1.99pl1/debian/patches/0001-Fix-string-format-error-with-recent-ncurses.patch
--- ytree-1.99pl1/debian/patches/0001-Fix-string-format-error-with-recent-ncurses.patch	1970-01-01 02:00:00.000000000 +0200
+++ ytree-1.99pl1/debian/patches/0001-Fix-string-format-error-with-recent-ncurses.patch	2023-02-08 10:57:10.000000000 +0200
@@ -0,0 +1,25 @@
+From 015f63a98be5dc60ff5c66f24693de929c2cb6b9 Mon Sep 17 00:00:00 2001
+From: Sven Joachim <svenj...@gmx.de>
+Date: Sat, 16 Oct 2021 09:11:37 +0200
+Subject: [PATCH] Fix string format error with recent ncurses
+
+---
+ input.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/input.c b/input.c
+index c55b3da..28bc4a0 100644
+--- a/input.c
++++ b/input.c
+@@ -349,7 +349,7 @@ int InputChoise(char *msg, char *term)
+
+   curs_set(1);
+   leaveok(stdscr, FALSE);
+-  mvprintw( LINES - 2, 1, msg );
++  mvprintw( LINES - 2, 1,"%s", msg );
+   RefreshWindow( stdscr );
+   doupdate();
+   do
+--
+2.33.0
+
diff -Nru ytree-1.99pl1/debian/patches/series ytree-1.99pl1/debian/patches/series
--- ytree-1.99pl1/debian/patches/series	2019-07-07 18:24:40.000000000 +0300
+++ ytree-1.99pl1/debian/patches/series	2023-02-08 10:57:10.000000000 +0200
@@ -2,3 +2,4 @@
 02_profile.diff
 03_manpages.diff
 04_curses_path
+0001-Fix-string-format-error-with-recent-ncurses.patch

Reply via email to