summaryrefslogtreecommitdiff
path: root/system/gettext-tiny/omg-i-cant-believe-im-doing-ua-crap.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-20 23:57:56 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-06-20 23:57:56 -0500
commit57c3640e4be12dc2102caedc686e828ae3468385 (patch)
tree53b2b9ee5c32a5332ac7f94a8b66ddb4d2b49282 /system/gettext-tiny/omg-i-cant-believe-im-doing-ua-crap.patch
parenta7d0df1e4ece7642b086269b9cc07ec789c1e219 (diff)
downloadpackages-57c3640e4be12dc2102caedc686e828ae3468385.tar.gz
packages-57c3640e4be12dc2102caedc686e828ae3468385.tar.bz2
packages-57c3640e4be12dc2102caedc686e828ae3468385.tar.xz
packages-57c3640e4be12dc2102caedc686e828ae3468385.zip
system/gettext-tiny: bump to 0.3.0-pre1
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);
+ }
+