summaryrefslogtreecommitdiff
path: root/www/lynx/patches/patch-af
diff options
context:
space:
mode:
Diffstat (limited to 'www/lynx/patches/patch-af')
-rw-r--r--www/lynx/patches/patch-af16
1 files changed, 16 insertions, 0 deletions
diff --git a/www/lynx/patches/patch-af b/www/lynx/patches/patch-af
new file mode 100644
index 00000000000..0ee1607d35c
--- /dev/null
+++ b/www/lynx/patches/patch-af
@@ -0,0 +1,16 @@
+$NetBSD: patch-af,v 1.1 2004/03/11 22:10:48 ben Exp $
+
+--- po/makefile.inn.orig 2004-01-28 11:30:38.000000000 -0800
++++ po/makefile.inn
+@@ -71,6 +71,11 @@ INSTOBJEXT = @INSTOBJEXT@
+ $(MSGFMT) -o $@ $<
+
+ .po.gmo:
++ @if [ `$(GMSGFMT) --version | head -1 | cut -d . -f 2` -lt 11 ]; then \
++ mv $< $<.bak; \
++ sed '/^msgstr/s/\([^\\]\)\(\\[^[:print:]]\)/\1\\\2/g' \
++ <$<.bak >$<; \
++ fi
+ file=$(srcdir)/`echo $* | sed 's,.*/,,'`.gmo \
+ && rm -f $$file && $(GMSGFMT) -o $$file $<
+