summaryrefslogtreecommitdiff
path: root/user/felinks/gettext-tiny.patch
diff options
context:
space:
mode:
authorNathan <ndowens@artixlinux.org>2020-10-20 21:05:58 +0000
committerNathan Owens <ndowens@artixlinux.org>2020-10-25 22:56:47 +0000
commitb53827110e696959549c9cdf93da07b6c03519cf (patch)
tree38ddcd99a2bd4fb9cc5a48faa030e80b13961562 /user/felinks/gettext-tiny.patch
parent60c5b0f127e002057c3e057b59da6178808d59d4 (diff)
downloadpackages-b53827110e696959549c9cdf93da07b6c03519cf.tar.gz
packages-b53827110e696959549c9cdf93da07b6c03519cf.tar.bz2
packages-b53827110e696959549c9cdf93da07b6c03519cf.tar.xz
packages-b53827110e696959549c9cdf93da07b6c03519cf.zip
user/felinks: new package
Diffstat (limited to 'user/felinks/gettext-tiny.patch')
-rw-r--r--user/felinks/gettext-tiny.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/user/felinks/gettext-tiny.patch b/user/felinks/gettext-tiny.patch
new file mode 100644
index 000000000..27c2667d4
--- /dev/null
+++ b/user/felinks/gettext-tiny.patch
@@ -0,0 +1,14 @@
+gettext-tiny's msgfmt tries to use "--" as a literal output file (note
+that --statistics is ignored)
+
+--- felinks-0.13.5/po/Makefile 2020-08-30 14:31:52.000000000 +0000
++++ felinks-0.13.5/po/Makefile 2020-10-24 21:23:18.736882854 +0000
+@@ -22,7 +22,7 @@ POTFILES_ABS_LIST = potfiles.list
+ POTFILES_REL = $(shell find $(top_srcdir)/src/ -name '*.[ch]' -o -name options.inc -o -name 'actions-*.inc' | sort)
+
+ quiet_cmd_gmsgfmt = ' [$(PO_COLOR)GMSGFMT$(END_COLOR)] $(RELPATH)$(@)'
+- cmd_gmsgfmt = rm -f -- "$@" && $(GMSGFMT) --statistics -o "$@" -- "$<"
++ cmd_gmsgfmt = rm -f -- "$@" && $(GMSGFMT) --statistics -o "$@" "$<"
+
+
+ # Distributed elinks-*.tar.gz packages include po/*.gmo files, so that