Subject: Re: pkg/36257: games/wesnoth has msgfmt problems (plurals) [NetBSD 3.0]
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Robert Elz <kre@munnari.OZ.AU>
List: pkgsrc-bugs
Date: 05/05/2007 14:40:02
The following reply was made to PR pkg/36257; it has been noted by GNATS.
From: Robert Elz <kre@munnari.OZ.AU>
To: Thomas Klausner <wiz@NetBSD.org>, gnats-bugs@NetBSD.org
Cc:
Subject: Re: pkg/36257: games/wesnoth has msgfmt problems (plurals) [NetBSD 3.0]
Date: Sat, 05 May 2007 21:39:26 +0700
Date: Sat, 5 May 2007 16:27:42 +0200
From: Thomas Klausner <wiz@NetBSD.org>
Message-ID: <20070505142742.GD7984@danbala.tuwien.ac.at>
| Missing patch...
Oops - yes, I make that stupid mistake more times than I care
to count...
Here it is.
kre
(To mk/tools/msgfmt.sh)
--- msgfmt.sh.OLD 2006-12-18 11:41:26.000000000 +0700
+++ msgfmt.sh 2007-05-05 19:52:19.000000000 +0700
@@ -143,12 +143,12 @@
# If the input file cannot be found as named, then also search for a file
# with the same name that ends in ".po".
#
-if test ! -f "$pofile"; then
+if test ! -e "$pofile"; then
case "$pofile" in
*.po) popofile=$pofile ;;
*) popofile=${pofile}.po ;;
esac
- if test ! -f "$popofile"; then
+ if test ! -e "$popofile"; then
echo 1>&2 "$0: error while opening \"$pofile\" for reading: No such file or directory"
exit 1
fi