summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2023-06-30 14:31:11 +0200
committerDavid Seifert <soap@gentoo.org>2023-06-30 14:31:11 +0200
commit59188fa2f4f5c378c475a2d687dedf7b746453bf (patch)
treeb914663314a5a23dda615a5d3af8adc160df6c8f
parentsys-kernel/kpatch: Fix indentation (diff)
downloadgentoo-59188fa2f4f5c378c475a2d687dedf7b746453bf.tar.gz
gentoo-59188fa2f4f5c378c475a2d687dedf7b746453bf.tar.bz2
gentoo-59188fa2f4f5c378c475a2d687dedf7b746453bf.zip
media-sound/audacity: fix gettext 0.22 breakage
Closes: https://bugs.gentoo.org/909201 Signed-off-by: David Seifert <soap@gentoo.org>
-rw-r--r--media-sound/audacity/audacity-3.2.5-r1.ebuild3
-rw-r--r--media-sound/audacity/files/audacity-3.2.5-gettext-0.22.patch36
2 files changed, 39 insertions, 0 deletions
diff --git a/media-sound/audacity/audacity-3.2.5-r1.ebuild b/media-sound/audacity/audacity-3.2.5-r1.ebuild
index b23b0ca973d6..b9ffe050c949 100644
--- a/media-sound/audacity/audacity-3.2.5-r1.ebuild
+++ b/media-sound/audacity/audacity-3.2.5-r1.ebuild
@@ -125,6 +125,9 @@ PATCHES=(
# GCC 13
"${FILESDIR}/${PN}-3.2.5-gcc13-deux.patch"
+
+ # gettext 0.22
+ "${FILESDIR}/${PN}-3.2.5-gettext-0.22.patch"
)
src_prepare() {
diff --git a/media-sound/audacity/files/audacity-3.2.5-gettext-0.22.patch b/media-sound/audacity/files/audacity-3.2.5-gettext-0.22.patch
new file mode 100644
index 000000000000..f84508a2c903
--- /dev/null
+++ b/media-sound/audacity/files/audacity-3.2.5-gettext-0.22.patch
@@ -0,0 +1,36 @@
+https://bugs.gentoo.org/909201
+upstream fix: https://github.com/audacity/audacity/pull/4866
+
+--- a/locale/be.po
++++ b/locale/be.po
+@@ -3097,7 +3097,7 @@
+ #: src/FileFormats.cpp
+ #, c-format
+ msgid "Error (file may not have been written): %s"
+-msgstr "Памылка (магчыма, файл не запісаны): %hs"
++msgstr "Памылка (магчыма, файл не запісаны): %s"
+
+ #: src/FileFormats.cpp
+ #, fuzzy
+--- a/locale/fa.po
++++ b/locale/fa.po
+@@ -3053,7 +3053,7 @@
+ #: src/FileFormats.cpp
+ #, c-format
+ msgid "Error (file may not have been written): %s"
+-msgstr "خطا (ممکن است در پرونده نوشته شده باشد) : %hs"
++msgstr "خطا (ممکن است در پرونده نوشته شده باشد) : %s"
+
+ #: src/FileFormats.cpp
+ msgid "&Copy uncompressed files into the project (safer)"
+--- a/locale/fr.po
++++ b/locale/fr.po
+@@ -3142,7 +3142,7 @@
+ #: src/FileFormats.cpp
+ #, c-format
+ msgid "Error (file may not have been written): %s"
+-msgstr "Erreur (le fichier pourrait ne pas avoir été écrit) : %hs"
++msgstr "Erreur (le fichier pourrait ne pas avoir été écrit) : %s"
+
+ # trebmuh to check (accélérateur)
+ #: src/FileFormats.cpp