Control: tags 1097797 + pending

Dear maintainer,

Given that this package is now marked for autoremoval from testing due
to this bug I've prepared an NMU for rlwrap (versioned as 0.46.1-1.1)
and intent to upload it to DELAYED/10. Please feel free to tell me if I
should delay it longer.

Cheers,
Flo
diff -Nru rlwrap-0.46.1/debian/changelog rlwrap-0.46.1/debian/changelog
--- rlwrap-0.46.1/debian/changelog	2022-11-09 00:16:15.000000000 +0100
+++ rlwrap-0.46.1/debian/changelog	2025-09-15 14:13:21.000000000 +0200
@@ -1,3 +1,11 @@
+rlwrap (0.46.1-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * add debian/patches/silence_a_Wformat-security_warning.patch fixing a FTBFS
+    with with GCC-15 (Closes: #1097797)
+
+ -- Florian Ernst <[email protected]>  Mon, 15 Sep 2025 14:13:21 +0200
+
 rlwrap (0.46.1-1) unstable; urgency=medium
 
   * New upstream release (Closes: #986294, #977052, #959009)
diff -Nru rlwrap-0.46.1/debian/patches/series rlwrap-0.46.1/debian/patches/series
--- rlwrap-0.46.1/debian/patches/series	1970-01-01 01:00:00.000000000 +0100
+++ rlwrap-0.46.1/debian/patches/series	2025-09-15 14:10:14.000000000 +0200
@@ -0,0 +1 @@
+silence_a_Wformat-security_warning.patch
diff -Nru rlwrap-0.46.1/debian/patches/silence_a_Wformat-security_warning.patch rlwrap-0.46.1/debian/patches/silence_a_Wformat-security_warning.patch
--- rlwrap-0.46.1/debian/patches/silence_a_Wformat-security_warning.patch	1970-01-01 01:00:00.000000000 +0100
+++ rlwrap-0.46.1/debian/patches/silence_a_Wformat-security_warning.patch	2025-09-15 14:13:17.000000000 +0200
@@ -0,0 +1,18 @@
+Description: Fix ftbfs with GCC-15
+Author: Hans Lub
+Origin: https://github.com/hanslub42/rlwrap/commit/08c7b0135c80d34dfa2e36889d0235f31401903c
+Bug-Debian: http://bugs.debian.org/1097797
+
+Index: rlwrap-0.46.1/src/readline.c
+===================================================================
+--- rlwrap-0.46.1.orig/src/readline.c
++++ rlwrap-0.46.1/src/readline.c
+@@ -189,7 +189,7 @@ message_in_echo_area(char *message)
+   if (message) {
+     rl_save_prompt();
+     message_in_echo_area = TRUE;  
+-    rl_message(message);
++    rl_message("%s", message);
+   }  else {
+     if (message_in_echo_area)
+       rl_restore_prompt();

Attachment: signature.asc
Description: PGP signature

Reply via email to