Subject: CVS commit: pkgsrc/mk/tools
To: None <pkgsrc-changes@NetBSD.org>
From: Johnny C. Lam <jlam@netbsd.org>
List: pkgsrc-changes
Date: 05/20/2006 23:29:42
Module Name:	pkgsrc
Committed By:	jlam
Date:		Sat May 20 23:29:42 UTC 2006

Modified Files:
	pkgsrc/mk/tools: msgfmt.sh

Log Message:
Modify msgfmt.sh to make the following changes when filtering *.po files:

	msgid		-> msgid ""
	msgid"..."	-> msgid "..."
	msgstr		-> msgstr ""
	msgstr"..."	-> msgstr "..."

The filtered *.po files can then be processed by msgfmt<=0.10.35.

These changes workaround bugs in *.po files in software of the "all
the world runs Linux" variety where the software author either willfully
or stupidly can't follow the format for *.po files described in section
2.2 of the gettext info manual and, in addition, makes lame excuses
when confronted with the evidence.

This closes PR pkg/33506 by Ben Collver.


To generate a diff of this commit:
cvs rdiff -r1.18 -r1.19 pkgsrc/mk/tools/msgfmt.sh

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.