• Bug#1075026: gnome-paint: diff for NMU version 0.4.0-10.1

    From Adrian Bunk@21:1/5 to All on Thu Apr 10 23:40:01 2025
    Control: tags 1075026 + patch

    Dear maintainer,

    I've uploaded an NMU for gnome-paint (versioned as 0.4.0-10.1).
    The diff is attached to this message.

    cu
    Adrian

    diffstat for gnome-paint-0.4.0 gnome-paint-0.4.0

    changelog | 7 +
    patches/gcc-14.patch | 227 +++++++++++++++++++++++++++++++++++++++++++++++++++
    patches/series | 1
    3 files changed, 235 insertions(+)

    diff -Nru gnome-paint-0.4.0/debian/changelog gnome-paint-0.4.0/debian/changelog --- gnome-paint-0.4.0/debian/changelog 2024-04-17 14:30:15.000000000 +0300
    +++ gnome-paint-0.4.0/debian/changelog 2025-04-10 23:32:13.000000000 +0300
    @@ -1,3 +1,10 @@
    +gnome-paint (0.4.0-10.1) unstable; urgency=medium
    +
    + * Non-maintainer upload.
    + * Fix FTBFS with gcc 14. (Closes: #1075026)
    +
    + -- Adrian Bunk <bunk@debian.org> Thu, 10 Apr 2025 23:32:13 +0300
    +
    gnome-paint (0.4.0-10) unstable; urgency=medium

    [ Steve Langasek ]
    diff -Nru gnome-paint-0.4.0/debian/patches/gcc-14.patch gnome-paint-0.4.0/debian/patches/gcc-14.patch
    --- gnome-paint-0.4.0/debian/patches/gcc-14.patch 1970-01-01 02:00:00.000000000 +0200
    +++ gnome-paint-0.4.0/debian/patches/gcc-14.patch 2025-04-10 23:32:13.000000000 +0300
    @@ -0,0 +1,227 @@
    +Description: Fix FTBFS with gcc 14
    +Author: Adrian Bunk <bunk@debian.org>
    +Bug-Debian: https://bugs.debian.org/1075026
    +
    +--- gnome-paint-0.4.0.orig/src/image_menu.c
    ++++ gnome-paint-0.4.0/src/image_menu.c
    +@@ -63,8 +63,8 @@ static gdouble convert_units (int from,
    +