Control: tags 1128757 + patch Dear maintainer,
I've prepared an NMU for tuxpaint (versioned as 1:0.9.35-1.1) and uploaded it to DELAYED/2. Please feel free to tell me if I should cancel it. cu Adrian
diffstat for tuxpaint-0.9.35 tuxpaint-0.9.35 changelog | 8 +++ patches/0001-Make-short_lang_prefix-non-const.patch | 45 ++++++++++++++++++++ patches/series | 1 3 files changed, 54 insertions(+) diff -Nru tuxpaint-0.9.35/debian/changelog tuxpaint-0.9.35/debian/changelog --- tuxpaint-0.9.35/debian/changelog 2025-08-12 21:53:54.000000000 +0300 +++ tuxpaint-0.9.35/debian/changelog 2026-10-07 16:08:02.000000000 +0300 @@ -1,3 +1,11 @@ +tuxpaint (1:0.9.35-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * Backport upstream fix for FTBFS with glibc 2.43, + thanks to Florian Ernst. (Closes: #1128757) + + -- Adrian Bunk <[email protected]> Wed, 07 Oct 2026 16:08:02 +0300 + tuxpaint (1:0.9.35-1) unstable; urgency=medium * New upstream release diff -Nru tuxpaint-0.9.35/debian/patches/0001-Make-short_lang_prefix-non-const.patch tuxpaint-0.9.35/debian/patches/0001-Make-short_lang_prefix-non-const.patch --- tuxpaint-0.9.35/debian/patches/0001-Make-short_lang_prefix-non-const.patch 1970-01-01 02:00:00.000000000 +0200 +++ tuxpaint-0.9.35/debian/patches/0001-Make-short_lang_prefix-non-const.patch 2026-10-07 16:05:52.000000000 +0300 @@ -0,0 +1,45 @@ +From 31381be279499cc10950455dad3b91893c4dd028 Mon Sep 17 00:00:00 2001 +From: Philipp Rösner <[email protected]> +Date: Sun, 17 May 2026 14:36:57 +0200 +Subject: Make short_lang_prefix non-const + +- Glibc-2.43 does not allow assigning + to const char pointer anymore, requiring to make + short_lang_prefix non-const +- See: https://bugs.gentoo.org/969855 +--- + src/i18n.c | 3 ++- + src/i18n.h | 3 ++- + 2 files changed, 4 insertions(+), 2 deletions(-) + +diff --git a/src/i18n.c b/src/i18n.c +index f78311739..fd86b3f7f 100644 +--- a/src/i18n.c ++++ b/src/i18n.c +@@ -256,7 +256,8 @@ static int lang_use_right_to_left[] = { + + int need_own_font; + int need_right_to_left; +-const char *lang_prefix, *short_lang_prefix; ++const char *lang_prefix; ++char *short_lang_prefix; + + w_langs wished_langs[255]; + +diff --git a/src/i18n.h b/src/i18n.h +index 2f9e9c12a..5f9751017 100644 +--- a/src/i18n.h ++++ b/src/i18n.h +@@ -185,7 +185,8 @@ typedef struct language_to_locale_struct + extern const char *lang_prefixes[NUM_LANGS]; + extern int need_own_font; + extern int need_right_to_left; // Right-justify +-extern const char *lang_prefix, *short_lang_prefix; ++extern const char *lang_prefix; ++extern char *short_lang_prefix; + + typedef struct w_langs + { +-- +2.47.3 + diff -Nru tuxpaint-0.9.35/debian/patches/series tuxpaint-0.9.35/debian/patches/series --- tuxpaint-0.9.35/debian/patches/series 2023-06-19 19:11:47.000000000 +0300 +++ tuxpaint-0.9.35/debian/patches/series 2026-10-07 16:08:00.000000000 +0300 @@ -2,3 +2,4 @@ #add-fdo-keywords #fix-manpage-spelling #fix-parallel-builds +0001-Make-short_lang_prefix-non-const.patch

