Subject: Re: pkg/30938: epiphany msg catalogs not compilable
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: =?ISO-8859-15?Q?Joachim_K=F6nig-Baltes?= <joachim.koenig-baltes@emesgarten.de>
List: pkgsrc-bugs
Date: 08/18/2005 08:23:02
The following reply was made to PR pkg/30938; it has been noted by GNATS.

From: =?ISO-8859-15?Q?Joachim_K=F6nig-Baltes?= <joachim.koenig-baltes@emesgarten.de>
To: gnats-bugs@NetBSD.org, martin@duskware.de
Cc: 
Subject: Re: pkg/30938: epiphany msg catalogs not compilable
Date: Thu, 18 Aug 2005 09:59:35 +0200

 I got it to work with the following patch to
 devel/gettext/files/msgfmt.pl instead of using pkgsrc gettext
 and libiconv:
 
 --- msgfmt.pl.orig      2004-04-01 20:33:20.000000000 +0200
 +++ msgfmt.pl   2005-08-17 15:01:42.000000000 +0200
 @@ -77,13 +77,13 @@
       } elsif ($read_plural) {
           push @msgid_plural, $_;
       } elsif (/^msgstr\[1\]/) {
 -        print OUTFILE "\n";
 -        print OUTFILE "msgid ";
 +        #print OUTFILE "\n";
 +        #print OUTFILE "msgid ";
           foreach $line (@msgid_plural) {
 -            print OUTFILE "$line";
 +            #print OUTFILE "$line";
           }
           s/^msgstr\[1\]/msgstr/;
 -        print OUTFILE;
 +        #print OUTFILE;
           @msgid_plural = ();
       } elsif (/^msgstr\[2\]/) {
          $skip = 1;
 
 
 --------------
 
 The patch simply suppresses the output of the plural forms.
 
 Joachim