summaryrefslogtreecommitdiff
path: root/system/gettext-tiny/omg-i-cant-believe-im-doing-ua-crap.patch
diff options
context:
space:
mode:
Diffstat (limited to 'system/gettext-tiny/omg-i-cant-believe-im-doing-ua-crap.patch')
-rw-r--r--system/gettext-tiny/omg-i-cant-believe-im-doing-ua-crap.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/system/gettext-tiny/omg-i-cant-believe-im-doing-ua-crap.patch b/system/gettext-tiny/omg-i-cant-believe-im-doing-ua-crap.patch
new file mode 100644
index 000000000..8fd03a29e
--- /dev/null
+++ b/system/gettext-tiny/omg-i-cant-believe-im-doing-ua-crap.patch
@@ -0,0 +1,18 @@
+It turns out CMake requires the format to be:
+
+^msgmerge \(.*\) (gettext-version-number-here)
+
+So, this fixes CMake's test suite, and properly sets GETTEXT_VERSION_STRING
+to be the same as the m4 scripts shipped.
+
+--- gettext-tiny-0.3.0_pre1/src/msgmerge.c.old 2018-06-20 23:47:19.927932643 -0500
++++ gettext-tiny-0.3.0_pre1/src/msgmerge.c 2018-06-20 23:55:12.997464272 -0500
+@@ -18,7 +18,7 @@
+ __attribute__((noreturn))
+ static void version(void) {
+ fprintf(stdout,
+- "these are not (GNU gettext-tools) 99.9999.9999\n");
++ "msgmerge (GNU gettext-tools; compatible) 0.19 (gettext-tiny) 0.3.0\n");
+ exit(0);
+ }
+