summaryrefslogtreecommitdiff
path: root/system/gettext-tiny/keyword.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-02-15 19:48:10 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-02-15 19:48:10 +0000
commit9d8715562c846a78b9679d405d136e05a2fa330f (patch)
treee650519838a9fd2d9d253d9ab7922fe41db8aa7e /system/gettext-tiny/keyword.patch
parent35084cdac05c798cdaa923e2fdeb48c97051918b (diff)
downloadpackages-9d8715562c846a78b9679d405d136e05a2fa330f.tar.gz
packages-9d8715562c846a78b9679d405d136e05a2fa330f.tar.bz2
packages-9d8715562c846a78b9679d405d136e05a2fa330f.tar.xz
packages-9d8715562c846a78b9679d405d136e05a2fa330f.zip
system/gettext-tiny: Fix --keyword handling
Upstream: https://github.com/sabotage-linux/gettext-tiny/pull/53
Diffstat (limited to 'system/gettext-tiny/keyword.patch')
-rw-r--r--system/gettext-tiny/keyword.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/system/gettext-tiny/keyword.patch b/system/gettext-tiny/keyword.patch
new file mode 100644
index 000000000..417f8c80a
--- /dev/null
+++ b/system/gettext-tiny/keyword.patch
@@ -0,0 +1,13 @@
+diff --git a/src/msgfmt.c b/src/msgfmt.c
+index 1120ff6..f75ab8b 100644
+--- a/src/msgfmt.c
++++ b/src/msgfmt.c
+@@ -333,6 +333,8 @@ int main(int argc, char**argv) {
+ mode = m_desktop;
+ } else if(streq(A+2, "xml")) {
+ mode = m_xml;
++ } else if(streq(A+2, "keyword")) {
++ arg++;
+ } else if((locale = strstarts(A+2, "locale="))) {
+ } else if(streq(A+2, "check")) {
+ strict = true;