Control: tags 1096498 + patch
Control: tags 1096498 + pending

Dear maintainer,

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

cu
Adrian
diffstat for daemonize-1.7.8 daemonize-1.7.8

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

diff -Nru daemonize-1.7.8/debian/changelog daemonize-1.7.8/debian/changelog
--- daemonize-1.7.8/debian/changelog	2024-04-08 13:13:55.000000000 +0300
+++ daemonize-1.7.8/debian/changelog	2025-09-21 22:53:45.000000000 +0300
@@ -1,3 +1,10 @@
+daemonize (1.7.8-4.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS with GCC 15. (Closes: #1096498)
+
+ -- Adrian Bunk <[email protected]>  Sun, 21 Sep 2025 22:53:45 +0300
+
 daemonize (1.7.8-4) unstable; urgency=medium
 
   * Fix FTBFS issue by including the required library (Closes: #1066657)
diff -Nru daemonize-1.7.8/debian/patches/gcc-15.patch daemonize-1.7.8/debian/patches/gcc-15.patch
--- daemonize-1.7.8/debian/patches/gcc-15.patch	1970-01-01 02:00:00.000000000 +0200
+++ daemonize-1.7.8/debian/patches/gcc-15.patch	2025-09-21 22:53:45.000000000 +0300
@@ -0,0 +1,17 @@
+Description: Fix FTBFS with GCC 15
+Author: Adrian Bunk <[email protected]>
+Bug-Debian: https://bugs.debian.org/1096498
+
+--- daemonize-1.7.8.orig/getopt.c
++++ daemonize-1.7.8/getopt.c
+@@ -43,9 +43,9 @@
+ #include <stdio.h>
+ /* We're ANSI now; we're guaranteed to have strchr(). */
+ #include <string.h>
++#include <unistd.h>
+ 
+ #define ERR(s, c)	if(x_opterr){\
+-	extern int write();\
+ 	char errbuf[2];\
+ 	errbuf[0] = c; errbuf[1] = '\n';\
+ 	(void) write(2, argv[0], (unsigned)strlen(argv[0]));\
diff -Nru daemonize-1.7.8/debian/patches/series daemonize-1.7.8/debian/patches/series
--- daemonize-1.7.8/debian/patches/series	2024-04-08 13:12:47.000000000 +0300
+++ daemonize-1.7.8/debian/patches/series	2025-09-21 22:53:45.000000000 +0300
@@ -1,3 +1,4 @@
 fix_command_in_sbin_has_manpage_in_incorrect_section.patch
 fix_autoconf_error.patch
 Fix-FTBFS-issue-by-including-the-required-library.patch
+gcc-15.patch

Reply via email to