From 59188fa2f4f5c378c475a2d687dedf7b746453bf Mon Sep 17 00:00:00 2001 From: David Seifert Date: Fri, 30 Jun 2023 14:31:11 +0200 Subject: media-sound/audacity: fix gettext 0.22 breakage Closes: https://bugs.gentoo.org/909201 Signed-off-by: David Seifert --- media-sound/audacity/audacity-3.2.5-r1.ebuild | 3 ++ .../files/audacity-3.2.5-gettext-0.22.patch | 36 ++++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 media-sound/audacity/files/audacity-3.2.5-gettext-0.22.patch 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 -- cgit v1.2.3-65-gdbad