Article View: linux.debian.bugs.dist
Article #123Bug#1128757: tuxpaint: diff for NMU version 1:0.9.35-1.1
From: 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--
Technical Details
Message-ID:
<NLSVb-4fe0-3@gated-at.bofh.it>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomodReferences:
<Nqy53-a5EK-37@gated-at.bofh.it>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!2.eu.feeder.erje.net!3.eu.feeder.erje.net!feeder.erje.net!news.samoylyk.net!gothmog.csi.it!bofh.it!news.nic.it!robomod From: Adrian Bunk <bunk@debian.org> Newsgroups: linux.debian.bugs.dist Subject: Bug#1128757: tuxpaint: diff for NMU version 1:0.9.35-1.1 Date: Thu, 08 Oct 2026 11:50:01 +0200 Message-ID: <NLSVb-4fe0-3@gated-at.bofh.it> References: <Nqy53-a5EK-37@gated-at.bofh.it> X-Original-To: 1128757@bugs.debian.org X-Mailbox-Line: From debian-bugs-dist-request@lists.debian.org Thu Oct 8 09:45:09 2026 Old-Return-Path: <debbugs@buxtehude.debian.org> X-Spam-Flag: NO X-Spam-Score: -1.7 Reply-To: Adrian Bunk <bunk@debian.org>, 1128757@bugs.debian.org Resent-To: debian-bugs-dist@lists.debian.org Resent-Cc: jcc@debian.org X-Debian-Pr-Message: followup 1128757 X-Debian-Pr-Package: src:tuxpaint X-Debian-Pr-Keywords: fixed-upstream ftbfs pending upstream X-Debian-Pr-Source: tuxpaint MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="6oUxN2jKZZHVzUei" Content-Disposition: inline Content-Transfer-Encoding: 8bit X-Debian-User: bunk X-Debian-Message: from BTS X-Mailing-List: <debian-bugs-dist@lists.debian.org> archive/latest/1995683 List-ID: <debian-bugs-dist.lists.debian.org> List-URL: <https://lists.debian.org/debian-bugs-dist/> Approved: robomod@news.nic.it Lines: 102 Organization: linux.* mail to news gateway Sender: robomod@news.nic.it X-Original-Date: Thu, 8 Oct 2026 12:43:31 +0300 X-Original-Message-ID: <asdlw3G6uvrFaBe-@localhost> X-Original-References: <aZssWMA68LLMl-Tf@aurel32.net>