summaryrefslogtreecommitdiff
path: root/system/gettext-tiny/keyword.patch
diff options
context:
space:
mode:
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;