Control: tags 1096419 + patch
Control: tags 1096419 + pending

Dear maintainer,

I've prepared an NMU for cdcd (versioned as 0.6.6-13.3) and uploaded
it to DELAYED/2. Please feel free to tell me if I should cancel it.

cu
Adrian
diffstat for cdcd-0.6.6 cdcd-0.6.6

 changelog            |    7 +++++++
 patches/gcc-15.patch |   37 +++++++++++++++++++++++++++++++++++++
 patches/series       |    1 +
 3 files changed, 45 insertions(+)

diff -Nru cdcd-0.6.6/debian/changelog cdcd-0.6.6/debian/changelog
--- cdcd-0.6.6/debian/changelog	2024-11-26 21:56:44.000000000 +0200
+++ cdcd-0.6.6/debian/changelog	2025-09-20 19:13:46.000000000 +0300
@@ -1,3 +1,10 @@
+cdcd (0.6.6-13.3) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS with GCC 15. (Closes: #1096419)
+
+ -- Adrian Bunk <[email protected]>  Sat, 20 Sep 2025 19:13:46 +0300
+
 cdcd (0.6.6-13.2) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru cdcd-0.6.6/debian/patches/gcc-15.patch cdcd-0.6.6/debian/patches/gcc-15.patch
--- cdcd-0.6.6/debian/patches/gcc-15.patch	1970-01-01 02:00:00.000000000 +0200
+++ cdcd-0.6.6/debian/patches/gcc-15.patch	2025-09-20 19:13:46.000000000 +0300
@@ -0,0 +1,37 @@
+Description: Fix FTBFS with GCC 15
+Author: Adrian Bunk <[email protected]>
+Bug-Debian: https://bugs.debian.org/1096419
+
+--- cdcd-0.6.6.orig/cmd_cdcd.c
++++ cdcd-0.6.6/cmd_cdcd.c
+@@ -1279,7 +1279,7 @@ cdcd_command_matcher (const char *text,
+ void
+ cmd_cdcd_mainloop ()
+ {
+-  rl_attempted_completion_function = (CPPFunction *) cdcd_completion;
++  rl_attempted_completion_function = cdcd_completion;
+   cmd_mainloop (&cdcd_command_matcher, "cdcd> ", cmds);
+ }
+ 
+--- cdcd-0.6.6.orig/cmdline.c
++++ cdcd-0.6.6/cmdline.c
+@@ -587,7 +587,7 @@ trackname_matcher (const char *text, int
+ }
+ 
+ char **
+-cdcd_completion (char *text, int start, int end)
++cdcd_completion (const char *text, int start, int end)
+ {
+   char **matches = NULL;
+ 
+--- cdcd-0.6.6.orig/cmdline.h
++++ cdcd-0.6.6/cmdline.h
+@@ -61,7 +61,7 @@ void init_cmdline (void);
+ /* FIXME: this function is hell */
+ void get_input_text (char *buffer, char *prompt, int len);
+ char *trackname_matcher (const char *text, int state);
+-char **cdcd_completion (char *text, int start, int end);
++char **cdcd_completion (const char *text, int start, int end);
+ 
+ int read_trackname (char *s, int *ret,
+ 		    struct disc_data *data, struct disc_info *disc);
diff -Nru cdcd-0.6.6/debian/patches/series cdcd-0.6.6/debian/patches/series
--- cdcd-0.6.6/debian/patches/series	2024-11-26 21:39:03.000000000 +0200
+++ cdcd-0.6.6/debian/patches/series	2025-09-20 19:13:46.000000000 +0300
@@ -12,3 +12,4 @@
 0012-cmdline.c-Try-to-fix-func-decl-conflict.patch
 0013-configure.ac-Only-support-linux-setup.patch
 0014-conf.c-Fix-broken-ifdef-elif-syntax.patch
+gcc-15.patch

Reply via email to