summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2023-06-30 13:50:33 +0200
committerDavid Seifert <soap@gentoo.org>2023-06-30 13:50:33 +0200
commit845076c13583b59e67fa858ef90482d503da12c0 (patch)
treedf9bf46eac4739f4c4e8b479c91a375f0ce39cbd /app-accessibility/brltty/files
parentsys-kernel/kpatch: Call linux-mod-r1_pkg_setup before postinst (diff)
downloadgentoo-845076c13583b59e67fa858ef90482d503da12c0.tar.gz
gentoo-845076c13583b59e67fa858ef90482d503da12c0.tar.bz2
gentoo-845076c13583b59e67fa858ef90482d503da12c0.zip
app-accessibility/brltty: fix gettext 0.22 breakage
* fixed upstream in https://github.com/brltty/brltty/commit/31061173fd80c7ed0f83e8d20d62c59dbedcebe0 Closes: https://bugs.gentoo.org/908897 Signed-off-by: David Seifert <soap@gentoo.org>
Diffstat (limited to 'app-accessibility/brltty/files')
-rw-r--r--app-accessibility/brltty/files/brltty-6.5-gettext-0.22.patch49
1 files changed, 49 insertions, 0 deletions
diff --git a/app-accessibility/brltty/files/brltty-6.5-gettext-0.22.patch b/app-accessibility/brltty/files/brltty-6.5-gettext-0.22.patch
new file mode 100644
index 000000000000..7cf62f74221c
--- /dev/null
+++ b/app-accessibility/brltty/files/brltty-6.5-gettext-0.22.patch
@@ -0,0 +1,49 @@
+https://bugs.gentoo.org/908897
+fix: https://github.com/brltty/brltty/commit/31061173fd80c7ed0f83e8d20d62c59dbedcebe0
+
+From 31061173fd80c7ed0f83e8d20d62c59dbedcebe0 Mon Sep 17 00:00:00 2001
+From: Yaakov Selkowitz <yselkowi@redhat.com>
+Date: Tue, 27 Jun 2023 15:07:09 -0400
+Subject: [PATCH] Add gettext header to ru.po
+
+Building with gettext-0.22 fails for lack of this header:
+
+/usr/bin/msgfmt: input file doesn't contain a header entry with a
+charset specification
+--- a/Messages/ru.po
++++ b/Messages/ru.po
+@@ -1,3 +1,34 @@
++# BRLTTY - A background process providing access to the console screen (when in
++# text mode) for a blind person using a refreshable braille display.
++#
++# Copyright (C) 1995-2022 by The BRLTTY Developers.
++#
++# BRLTTY comes with ABSOLUTELY NO WARRANTY.
++#
++# This is free software, placed under the terms of the
++# GNU Lesser General Public License, as published by the Free Software
++# Foundation; either version 2.1 of the License, or (at your option) any
++# later version. Please see the file LICENSE-LGPL for details.
++#
++# Web Page: http://brltty.app/
++#
++# This software is maintained by Dave Mielke <dave@mielke.cc>.
++#
++msgid ""
++msgstr ""
++"Project-Id-Version: brltty 4.5\n"
++"Report-Msgid-Bugs-To: BRLTTY@brltty.app\n"
++"POT-Creation-Date: 2021-01-27 11:47-0500\n"
++"PO-Revision-Date: 2021-02-07 08:18-0500\n"
++"Last-Translator: Маргарита Мельникова <margaretmelnikova@gmail.com>\n"
++"Language-Team: Friends of BRLTTY <BRLTTY@brlttY.app>\n"
++"Language: ru\n"
++"MIME-Version: 1.0\n"
++"Content-Type: text/plain; charset=UTF-8\n"
++"Content-Transfer-Encoding: 8bit\n"
++"Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && "
++"n%10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n"
++
+ #: Programs/brltty.c:167
+ #, c-format
+ msgid "\"%s\" started as \"%s\"\n"