Control: tags 1096443 + patch
Control: tags 1096443 + pending

Dear maintainer,

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

cu
Adrian
diffstat for clsync-0.4.5 clsync-0.4.5

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

diff -Nru clsync-0.4.5/debian/changelog clsync-0.4.5/debian/changelog
--- clsync-0.4.5/debian/changelog	2024-02-28 18:05:23.000000000 +0200
+++ clsync-0.4.5/debian/changelog	2025-09-20 21:55:06.000000000 +0300
@@ -1,3 +1,10 @@
+clsync (0.4.5-2.2) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS with GCC 15. (Closes: #1096443)
+
+ -- Adrian Bunk <[email protected]>  Sat, 20 Sep 2025 21:55:06 +0300
+
 clsync (0.4.5-2.1) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru clsync-0.4.5/debian/patches/gcc-15.patch clsync-0.4.5/debian/patches/gcc-15.patch
--- clsync-0.4.5/debian/patches/gcc-15.patch	1970-01-01 02:00:00.000000000 +0200
+++ clsync-0.4.5/debian/patches/gcc-15.patch	2025-09-20 21:55:06.000000000 +0300
@@ -0,0 +1,24 @@
+Description: Fix FTBFS with GCC 15
+Author: Adrian Bunk <[email protected]>
+Bug-Debian: https://bugs.debian.org/1096443
+
+--- clsync-0.4.5.orig/main.c
++++ clsync-0.4.5/main.c
+@@ -427,7 +427,7 @@ int parent_isalive()
+ 	return 1;
+ }
+ 
+-void child_sigchld()
++void child_sigchld(int sig)
+ {
+ 	if ( getppid() != 1 )
+ 		return;
+@@ -437,7 +437,7 @@ void child_sigchld()
+ 	return;
+ }
+ 
+-int sethandler_sigchld ( void ( *handler ) () )
++int sethandler_sigchld ( void ( *handler ) (int) )
+ {
+ 	struct sigaction sa;
+ 	sa.sa_handler = handler;
diff -Nru clsync-0.4.5/debian/patches/series clsync-0.4.5/debian/patches/series
--- clsync-0.4.5/debian/patches/series	1970-01-01 02:00:00.000000000 +0200
+++ clsync-0.4.5/debian/patches/series	2025-09-20 21:55:06.000000000 +0300
@@ -0,0 +1 @@
+gcc-15.patch

Reply via email to