commit:     5f5e32b47cfc2b2bdb5d32e451c2a7b5050b1e0e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 23 22:40:58 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jun 23 22:42:04 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f5e32b4

net-irc/weechat: workaround build failure w/ gettext-0.22

Closes: https://bugs.gentoo.org/908976
Thanks-to: James McGeehan IV <jfmfour22 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../weechat-3.8-workaround-broken-translations.patch | 20 ++++++++++++++++++++
 net-irc/weechat/weechat-3.8.ebuild                   |  1 +
 2 files changed, 21 insertions(+)

diff --git 
a/net-irc/weechat/files/weechat-3.8-workaround-broken-translations.patch 
b/net-irc/weechat/files/weechat-3.8-workaround-broken-translations.patch
new file mode 100644
index 000000000000..339b3ebe2d26
--- /dev/null
+++ b/net-irc/weechat/files/weechat-3.8-workaround-broken-translations.patch
@@ -0,0 +1,20 @@
+https://bugs.gentoo.org/908976
+
+From 7c811ad118d073c23038e61ee68ecdc07d5b563a Mon Sep 17 00:00:00 2001
+From: blockiv <[email protected]>
+Date: Thu, 22 Jun 2023 05:26:02 +0000
+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 ""
+ 
+-#, c-format
++#, c-format, fuzzy
+ msgid "End of command '%s', timeout reached (%.1fs)"
+ msgstr "Konec příkazu '%s', vypršel časový limit (%.lfs)"
+ 
+-- 
+2.41.0

diff --git a/net-irc/weechat/weechat-3.8.ebuild 
b/net-irc/weechat/weechat-3.8.ebuild
index 11bbd607533d..ef801944230e 100644
--- a/net-irc/weechat/weechat-3.8.ebuild
+++ b/net-irc/weechat/weechat-3.8.ebuild
@@ -82,6 +82,7 @@ BDEPEND+="
 
 PATCHES=(
        "${FILESDIR}"/${PN}-3.3-cmake_lua_version.patch
+       "${FILESDIR}"/${PN}-3.8-workaround-broken-translations.patch
 )
 
 DOCS="AUTHORS.adoc ChangeLog.adoc Contributing.adoc ReleaseNotes.adoc 
README.adoc"

Reply via email to