Control: tags 1077398 + patch
Control: tags 1077398 + pending

Dear maintainer,

I've prepared an NMU for xcur2png (versioned as 0.7.1-1.1) and
uploaded it to DELAYED/5. Please feel free to tell me if I
should delay it longer.

Regards.

diff -Nru xcur2png-0.7.1/debian/changelog xcur2png-0.7.1/debian/changelog
--- xcur2png-0.7.1/debian/changelog     2024-06-15 00:03:48.000000000 -0400
+++ xcur2png-0.7.1/debian/changelog     2024-09-02 18:53:45.000000000 -0400
@@ -1,3 +1,10 @@
+xcur2png (0.7.1-1.1) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * debian/patches/0002: Add patch to fix FTBFS with gcc 14. (Closes: #1077398)
+
+ -- Boyuan Yang <by...@debian.org>  Mon, 02 Sep 2024 18:53:45 -0400
+
 xcur2png (0.7.1-1) unstable; urgency=medium
 
   * Initial release. (Closes: #1073240)
diff -Nru xcur2png-0.7.1/debian/patches/0002-Fix-gcc14-FTBFS.patch 
xcur2png-0.7.1/debian/patches/0002-Fix-gcc14-FTBFS.patch
--- xcur2png-0.7.1/debian/patches/0002-Fix-gcc14-FTBFS.patch    1969-12-31 
19:00:00.000000000 -0500
+++ xcur2png-0.7.1/debian/patches/0002-Fix-gcc14-FTBFS.patch    2024-09-02 
18:52:56.000000000 -0400
@@ -0,0 +1,22 @@
+From: Boyuan Yang <by...@debian.org>
+Date: Mon, 2 Sep 2024 18:52:35 -0400
+Subject: Fix gcc14 FTBFS
+
+Bug-Debian: https://bugs.debian.org/1077398
+---
+ xcur2png.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/xcur2png.c b/xcur2png.c
+index 8723a10..ea235ff 100644
+--- a/xcur2png.c
++++ b/xcur2png.c
+@@ -671,7 +671,7 @@ int saveConfAndPNGs (const XcursorImages* xcIs, const 
char* xcurFilePart, int su
+   int ret;
+   int count = 0;
+   char pngName[PATH_MAX] = {0};
+-  extern dry_run;
++  extern int dry_run;
+   
+   //Write comment on config-file.
+   fprintf (conffp,"#size\txhot\tyhot\tPath to PNG image\tdelay\n");
diff -Nru xcur2png-0.7.1/debian/patches/series 
xcur2png-0.7.1/debian/patches/series
--- xcur2png-0.7.1/debian/patches/series        2024-06-15 00:03:48.000000000 
-0400
+++ xcur2png-0.7.1/debian/patches/series        2024-09-02 18:52:37.000000000 
-0400
@@ -1 +1,2 @@
 remove-upstream-debian-makefile.patch
+0002-Fix-gcc14-FTBFS.patch

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to