diff -Nru ploticus-2.42/debian/changelog ploticus-2.42/debian/changelog --- ploticus-2.42/debian/changelog 2024-06-14 14:46:27.000000000 +0800 +++ ploticus-2.42/debian/changelog 2024-10-09 00:24:04.000000000 +0800 @@ -1,3 +1,10 @@ +ploticus (2.42-7) UNRELEASED; urgency=medium + + * QA upload. + * d/patches: add patch to fix FTBFS with GCC-14 (closes: #1075391) + + -- Shengqi Chen Wed, 09 Oct 2024 00:24:04 +0800 + ploticus (2.42-6) unstable; urgency=medium * QA upload. diff -Nru ploticus-2.42/debian/patches/fix-ftbfs-gcc14.patch ploticus-2.42/debian/patches/fix-ftbfs-gcc14.patch --- ploticus-2.42/debian/patches/fix-ftbfs-gcc14.patch 1970-01-01 08:00:00.000000000 +0800 +++ ploticus-2.42/debian/patches/fix-ftbfs-gcc14.patch 2024-10-09 00:21:46.000000000 +0800 @@ -0,0 +1,20 @@ +--- a/src/svg.c ++++ b/src/svg.c +@@ -740,7 +740,7 @@ + buf = svg_style; /* reuse */ + while( fgets( buf, 999, svg_fp ) != NULL ) { + #ifdef WZ +- if( svg_compress ) gzprintf( outfp, "%s", buf ); ++ if( svg_compress ) gzprintf( (gzFile) outfp, "%s", buf ); + else + #endif + printf( "%s", buf ); +@@ -749,7 +749,7 @@ + unlink( svg_tmpfilename ); + #ifdef WZ + if( svg_compress && !svg_stdout ) { +- gzclose( outfp ); ++ gzclose( (gzFile) outfp ); + chmod( svg_filename, 00644 ); + } + #endif diff -Nru ploticus-2.42/debian/patches/series ploticus-2.42/debian/patches/series --- ploticus-2.42/debian/patches/series 2024-06-14 14:41:38.000000000 +0800 +++ ploticus-2.42/debian/patches/series 2024-10-09 00:20:45.000000000 +0800 @@ -3,3 +3,4 @@ makefile-config.patch man-fix.patch hardening-pass-cflags.patch +fix-ftbfs-gcc14.patch