summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-06-23 23:40:58 +0100
committerSam James <sam@gentoo.org>2023-06-23 23:42:04 +0100
commit5f5e32b47cfc2b2bdb5d32e451c2a7b5050b1e0e (patch)
tree2ec19f12c0c0fac73f4fe86a42ccc0bf3063c84a /net-irc/weechat
parentmedia-gfx/fontforge: workaround build failure w/ gettext-0.22 (diff)
downloadgentoo-5f5e32b47cfc2b2bdb5d32e451c2a7b5050b1e0e.tar.gz
gentoo-5f5e32b47cfc2b2bdb5d32e451c2a7b5050b1e0e.tar.bz2
gentoo-5f5e32b47cfc2b2bdb5d32e451c2a7b5050b1e0e.zip
net-irc/weechat: workaround build failure w/ gettext-0.22
Closes: https://bugs.gentoo.org/908976 Thanks-to: James McGeehan IV <jfmfour22@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-irc/weechat')
-rw-r--r--net-irc/weechat/files/weechat-3.8-workaround-broken-translations.patch20
-rw-r--r--net-irc/weechat/weechat-3.8.ebuild1
2 files changed, 21 insertions, 0 deletions
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 <blockiv@tuta.io>
+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"