$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 $<