Thread View: linux.debian.bugs.dist
1 messages
1 total messages
Started by Adrian Bunk
Thu, 08 Oct 2026 09:50
Bug#1128757: tuxpaint: diff for NMU version 1:0.9.35-1.1
Author: Adrian Bunk
Date: Thu, 08 Oct 2026 09:50
Date: Thu, 08 Oct 2026 09:50
102 lines
5240 bytes
5240 bytes
--6oUxN2jKZZHVzUei
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
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
--6oUxN2jKZZHVzUei
Content-Type: text/x-diff; charset=utf-8
Content-Disposition: attachment; filename="tuxpaint-0.9.35-1.1-nmu.diff"
Content-Transfer-Encoding: 8bit
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 <bunk@debian.org> 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 <rndxelement@protonmail.com>
+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
--6oUxN2jKZZHVzUei--
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads