From owner-freebsd-perl@FreeBSD.ORG Fri Sep 22 00:49:25 2006 Return-Path: X-Original-To: perl@FreeBSD.org Delivered-To: freebsd-perl@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EB7F216A5AD; Fri, 22 Sep 2006 00:49:24 +0000 (UTC) (envelope-from gslin@netnews.NCTU.edu.tw) Received: from netnews.NCTU.edu.tw (ccreader.nctu.edu.tw [140.113.54.119]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7CA9043D4C; Fri, 22 Sep 2006 00:49:24 +0000 (GMT) (envelope-from gslin@netnews.NCTU.edu.tw) Received: by netnews.NCTU.edu.tw (Postfix, from userid 1000) id 932FE41A; Fri, 22 Sep 2006 08:49:22 +0800 (CST) To: FreeBSD-gnats-submit@freebsd.org From: Gea-Suan Lin X-send-pr-version: 3.113 X-GNATS-Notify: Message-Id: <20060922004922.932FE41A@netnews.NCTU.edu.tw> Date: Fri, 22 Sep 2006 08:49:22 +0800 (CST) Cc: perl@FreeBSD.org, gslin@gslin.org Subject: [PATCH] textproc/p5-Number-Format: update to 1.52 X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Sep 2006 00:49:25 -0000 >Submitter-Id: current-users >Originator: Gea-Suan Lin >Organization: >Confidential: no >Synopsis: [PATCH] textproc/p5-Number-Format: update to 1.52 >Severity: non-critical >Priority: low >Category: ports >Class: update >Release: FreeBSD 6.1-RELEASE i386 >Environment: System: FreeBSD netnews.NCTU.edu.tw 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sat May 13 03:43:48 CST 2006 >Description: - Update to 1.52 Removed file(s): - files/patch-t-locale.t Port maintainer (perl@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- p5-Number-Format-1.52.patch begins here --- diff -ruN --exclude=CVS /usr/ports/textproc/p5-Number-Format/Makefile /home/staff/gslin/work/ports/p5-Number-Format/Makefile --- /usr/ports/textproc/p5-Number-Format/Makefile Thu Apr 27 22:17:32 2006 +++ /home/staff/gslin/work/ports/p5-Number-Format/Makefile Fri Sep 22 08:48:23 2006 @@ -6,7 +6,7 @@ # PORTNAME= Number-Format -PORTVERSION= 1.51 +PORTVERSION= 1.52 CATEGORIES= textproc perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= Number @@ -22,6 +22,7 @@ .include post-patch: + ${PERL} -pi -e 's/en_US/en_US.US-ASCII/' ${WRKSRC}/t/*.t .if ${PERL_LEVEL} < 500800 ${PERL} -pi -e '$$_="" if m{5.008}' ${WRKSRC}/Format.pm .endif diff -ruN --exclude=CVS /usr/ports/textproc/p5-Number-Format/distinfo /home/staff/gslin/work/ports/p5-Number-Format/distinfo --- /usr/ports/textproc/p5-Number-Format/distinfo Thu Apr 27 22:17:32 2006 +++ /home/staff/gslin/work/ports/p5-Number-Format/distinfo Fri Sep 22 08:42:13 2006 @@ -1,3 +1,3 @@ -MD5 (Number-Format-1.51.tar.gz) = 0191de22501fa4df10a58a400bd79977 -SHA256 (Number-Format-1.51.tar.gz) = 5b02975dd39379cf472af5f04b6f684fca131a5dce56bbac81d9a469e17edc84 -SIZE (Number-Format-1.51.tar.gz) = 16340 +MD5 (Number-Format-1.52.tar.gz) = 20aba083241f721dc4e0e8dc501ab1c1 +SHA256 (Number-Format-1.52.tar.gz) = 0c465fc6eade7b8150dde58040c56759e5c3022c2b09c7540a0e273c9fd226f2 +SIZE (Number-Format-1.52.tar.gz) = 16363 diff -ruN --exclude=CVS /usr/ports/textproc/p5-Number-Format/files/patch-Format.pm /home/staff/gslin/work/ports/p5-Number-Format/files/patch-Format.pm --- /usr/ports/textproc/p5-Number-Format/files/patch-Format.pm Thu Apr 27 22:17:32 2006 +++ /home/staff/gslin/work/ports/p5-Number-Format/files/patch-Format.pm Fri Sep 22 08:43:54 2006 @@ -1,13 +1,11 @@ ---- Format.pm.orig Thu Apr 27 00:47:37 2006 -+++ Format.pm Thu Apr 27 21:59:09 2006 -@@ -643,8 +643,8 @@ - $decimal .= '0'x($precision - length $decimal); +--- Format.pm.orig Fri Sep 22 08:43:28 2006 ++++ Format.pm Fri Sep 22 08:43:35 2006 +@@ -644,7 +644,7 @@ # Combine it all back together and return it. -- $self->{int_curr_symbol} =~ s/\s+$/ /; + $self->{int_curr_symbol} =~ s/\s*$/ /; - my $result = ($self->{int_curr_symbol} . -+ $self->{int_curr_symbol} =~ s/\s+$//; -+ my $result = ($self->{int_curr_symbol} . ' ' . ++ my $result = ($self->{int_curr_symbol} . ' ' ($precision ? join($self->{mon_decimal_point}, $integer, $decimal) : $integer)); diff -ruN --exclude=CVS /usr/ports/textproc/p5-Number-Format/files/patch-t-locale.t /home/staff/gslin/work/ports/p5-Number-Format/files/patch-t-locale.t --- /usr/ports/textproc/p5-Number-Format/files/patch-t-locale.t Thu Apr 27 22:17:32 2006 +++ /home/staff/gslin/work/ports/p5-Number-Format/files/patch-t-locale.t Thu Jan 1 08:00:00 1970 @@ -1,11 +0,0 @@ ---- t/locale.t.orig Thu Apr 27 21:59:24 2006 -+++ t/locale.t Thu Apr 27 21:59:32 2006 -@@ -34,7 +34,7 @@ - } - print "ok 2\n"; - --setlocale(&LC_ALL, "en_US"); -+setlocale(&LC_ALL, "en_US.US-ASCII"); - my $english = new Number::Format(); - print "not " unless ($english->format_price(123456.789) eq 'USD 123,456.79'); - print "ok 3\n"; --- p5-Number-Format-1.52.patch ends here ---