Control: tags 1096521 + patch
Control: tags 1096521 + pending

Dear maintainer,

I've prepared an NMU for dia2code (versioned as 0.8.3-4.4) and uploaded 
it to DELAYED/14. Please feel free to tell me if I should cancel it.

cu
Adrian
diffstat for dia2code-0.8.3 dia2code-0.8.3

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

diff -Nru dia2code-0.8.3/debian/changelog dia2code-0.8.3/debian/changelog
--- dia2code-0.8.3/debian/changelog	2025-01-04 14:30:21.000000000 +0200
+++ dia2code-0.8.3/debian/changelog	2025-09-22 22:54:46.000000000 +0300
@@ -1,3 +1,10 @@
+dia2code (0.8.3-4.4) unstable; urgency=medium
+
+  * Non-maintainer upload.
+  * Fix FTBFS with GCC 15. (Closes: #1096521)
+
+ -- Adrian Bunk <[email protected]>  Mon, 22 Sep 2025 22:54:46 +0300
+
 dia2code (0.8.3-4.3) unstable; urgency=medium
 
   * Non-maintainer upload.
diff -Nru dia2code-0.8.3/debian/patches/gcc-15.patch dia2code-0.8.3/debian/patches/gcc-15.patch
--- dia2code-0.8.3/debian/patches/gcc-15.patch	1970-01-01 02:00:00.000000000 +0200
+++ dia2code-0.8.3/debian/patches/gcc-15.patch	2025-09-22 22:54:46.000000000 +0300
@@ -0,0 +1,17 @@
+Description: Fix FTBFS with GCC 15
+Author: Adrian Bunk <[email protected]>
+Bug-Debian: https://bugs.debian.org/1096521
+
+--- dia2code-0.8.3.orig/dia2code/dia2code.h
++++ dia2code-0.8.3/dia2code/dia2code.h
+@@ -232,8 +232,8 @@ FILE * open_outfile (char *filename, bat
+ #define d2c_fputc fputc
+ #endif
+ 
+-void d2c_indent();
+-void d2c_outdent();
++void d2c_indent(FILE *f);
++void d2c_outdent(FILE *f);
+ int _d2c_fputs(const char *s, FILE *f);
+ int _d2c_fputc(int c, FILE *f);
+ int _d2c_fprintf(FILE *f, char *fmt, ...);
diff -Nru dia2code-0.8.3/debian/patches/series dia2code-0.8.3/debian/patches/series
--- dia2code-0.8.3/debian/patches/series	2025-01-04 14:27:43.000000000 +0200
+++ dia2code-0.8.3/debian/patches/series	2025-09-22 22:54:46.000000000 +0300
@@ -6,3 +6,4 @@
 generate_code_java.patch
 parse_diagram-header.patch
 fprint-arg-ruby.patch
+gcc-15.patch

Reply via email to