summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2023-06-26 16:27:33 +0200
committerDavid Seifert <soap@gentoo.org>2023-06-26 16:27:33 +0200
commit5932fa56c1d3133cd1ac45e1c6bbddd370e20c3f (patch)
tree8a500d48ca7bb2f043e61f74678b88c957a3efe2
parentnet-irc/weechat: drop 3.7.1 (diff)
downloadgentoo-5932fa56c1d3133cd1ac45e1c6bbddd370e20c3f.tar.gz
gentoo-5932fa56c1d3133cd1ac45e1c6bbddd370e20c3f.tar.bz2
gentoo-5932fa56c1d3133cd1ac45e1c6bbddd370e20c3f.zip
net-irc/weechat: fix gettext 0.22 breakage correctly
Closes: https://bugs.gentoo.org/908976 Signed-off-by: David Seifert <soap@gentoo.org>
-rw-r--r--net-irc/weechat/files/weechat-3.8-gettext-0.22.patch (renamed from net-irc/weechat/files/weechat-3.8-workaround-broken-translations.patch)14
-rw-r--r--net-irc/weechat/weechat-3.8.ebuild2
2 files changed, 7 insertions, 9 deletions
diff --git a/net-irc/weechat/files/weechat-3.8-workaround-broken-translations.patch b/net-irc/weechat/files/weechat-3.8-gettext-0.22.patch
index 339b3ebe2d26..a39e265b9b99 100644
--- a/net-irc/weechat/files/weechat-3.8-workaround-broken-translations.patch
+++ b/net-irc/weechat/files/weechat-3.8-gettext-0.22.patch
@@ -7,14 +7,12 @@ Subject: [PATCH] Mark breaking translation as fuzzy
--- a/po/cs.po
+++ b/po/cs.po
-@@ -142,7 +142,7 @@ msgstr "%sChyba: příkaz \"%s\" již existuje pro plugin \"%s\""
- msgid "%sBad file descriptor (%d) used in hook_fd"
- msgstr ""
+@@ -144,7 +144,7 @@
--#, c-format
-+#, c-format, fuzzy
+ #, c-format
msgid "End of command '%s', timeout reached (%.1fs)"
- msgstr "Konec příkazu '%s', vypršel časový limit (%.lfs)"
+-msgstr "Konec příkazu '%s', vypršel časový limit (%.lfs)"
++msgstr "Konec příkazu '%s', vypršel časový limit (%.1fs)"
---
-2.41.0
+ #, c-format
+ msgid "System clock skew detected (%+ld seconds), reinitializing all timers"
diff --git a/net-irc/weechat/weechat-3.8.ebuild b/net-irc/weechat/weechat-3.8.ebuild
index ef801944230e..6053570ece4a 100644
--- a/net-irc/weechat/weechat-3.8.ebuild
+++ b/net-irc/weechat/weechat-3.8.ebuild
@@ -82,7 +82,7 @@ BDEPEND+="
PATCHES=(
"${FILESDIR}"/${PN}-3.3-cmake_lua_version.patch
- "${FILESDIR}"/${PN}-3.8-workaround-broken-translations.patch
+ "${FILESDIR}"/${PN}-3.8-gettext-0.22.patch
)
DOCS="AUTHORS.adoc ChangeLog.adoc Contributing.adoc ReleaseNotes.adoc README.adoc"