Subject: CVS commit: pkgsrc/mk/tools
To: None <pkgsrc-changes@NetBSD.org>
From: Johnny C. Lam <jlam@netbsd.org>
List: pkgsrc-changes
Date: 06/04/2006 23:18:38
Module Name:	pkgsrc
Committed By:	jlam
Date:		Sun Jun  4 23:18:38 UTC 2006

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

Log Message:
Extend msgfmt.sh script to handle the following cases:

(1) "msgstr" not followed by any string (GNU extension), e.g.

	msgid "foo"
	msgstr
	"bar"

(2) "\n" mismatch between msgid and msgstr, e.g.

	msgid "foo\n"
	msgstr "bar"

This fixes .po compilation problems in www/epiphany and
multimedia/gnome2-media.


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

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