Control: tags 1097422 + patch Control: tags 1097422 + pending Dear maintainer,
I've prepared an NMU for mtpaint (versioned as 3.50.12-1.1) and uploaded it to DELAYED/2. Please feel free to tell me if I should cancel it. cu Adrian
diffstat for mtpaint-3.50.12 mtpaint-3.50.12 changelog | 7 +++++++ patches/fixexp10.patch.txt | 10 ++++++++++ patches/gcc-15.patch | 15 +++++++++++++++ patches/series | 2 ++ 4 files changed, 34 insertions(+) diff -Nru mtpaint-3.50.12/debian/changelog mtpaint-3.50.12/debian/changelog --- mtpaint-3.50.12/debian/changelog 2025-08-26 09:59:59.000000000 +0300 +++ mtpaint-3.50.12/debian/changelog 2025-10-11 21:40:13.000000000 +0300 @@ -1,3 +1,10 @@ +mtpaint (3.50.12-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * Fix FTBFS with GCC 15. (Closes: #1097422) + + -- Adrian Bunk <[email protected]> Sat, 11 Oct 2025 21:40:13 +0300 + mtpaint (3.50.12-1) unstable; urgency=medium * d/control: remove Uploaders: Muammar El Khatib <[email protected]>, diff -Nru mtpaint-3.50.12/debian/patches/fixexp10.patch.txt mtpaint-3.50.12/debian/patches/fixexp10.patch.txt --- mtpaint-3.50.12/debian/patches/fixexp10.patch.txt 1970-01-01 02:00:00.000000000 +0200 +++ mtpaint-3.50.12/debian/patches/fixexp10.patch.txt 2025-10-11 21:40:13.000000000 +0300 @@ -0,0 +1,10 @@ +--- a/src/csel.c0 2020-04-23 23:11:51.000000000 +0300 ++++ a/src/csel.c 2025-06-19 13:21:40.186814524 +0300 +@@ -99,6 +99,7 @@ + return (CIE[n] + (CIE[n + 1] - CIE[n]) * (x - n)); + } + ++#define exp10 wjexp10 + static inline double exp10(double x) + { + int n; diff -Nru mtpaint-3.50.12/debian/patches/gcc-15.patch mtpaint-3.50.12/debian/patches/gcc-15.patch --- mtpaint-3.50.12/debian/patches/gcc-15.patch 1970-01-01 02:00:00.000000000 +0200 +++ mtpaint-3.50.12/debian/patches/gcc-15.patch 2025-10-11 21:40:13.000000000 +0300 @@ -0,0 +1,15 @@ +Description: Fix FTBFS with GCC 15 +Author: Adrian Bunk <[email protected]> +Bug-Debian: https://bugs.debian.org/1097422 + +--- mtpaint-3.50.12.orig/src/png.c ++++ mtpaint-3.50.12/src/png.c +@@ -663,7 +663,7 @@ static void ls_progress(ls_settings *set + #endif + + /* !!! libpng 1.2.17-1.2.24 was losing extra chunks if there was no callback */ +-static int buggy_libpng_handler() ++static int buggy_libpng_handler(struct png_struct_def *, struct png_unknown_chunk_t *) + { + return (0); + } diff -Nru mtpaint-3.50.12/debian/patches/series mtpaint-3.50.12/debian/patches/series --- mtpaint-3.50.12/debian/patches/series 2025-08-26 07:08:49.000000000 +0300 +++ mtpaint-3.50.12/debian/patches/series 2025-10-11 21:40:13.000000000 +0300 @@ -3,3 +3,5 @@ 03_po_Makefile.patch spawn.diff 0005-Don-t-ld-s.patch +fixexp10.patch.txt +gcc-15.patch

