diff options
author | clsung <clsung@FreeBSD.org> | 2006-09-23 11:19:54 +0800 |
---|---|---|
committer | clsung <clsung@FreeBSD.org> | 2006-09-23 11:19:54 +0800 |
commit | e591844a5192b3601dd3843c97f9c103e80ca9bc (patch) | |
tree | 441cc5464d46100d59ff5acc975a371f437b76ef /textproc | |
parent | 251d3200bb6bf32026e153030fb04c4c718611cb (diff) | |
download | freebsd-ports-gnome-e591844a5192b3601dd3843c97f9c103e80ca9bc.tar.gz freebsd-ports-gnome-e591844a5192b3601dd3843c97f9c103e80ca9bc.tar.zst freebsd-ports-gnome-e591844a5192b3601dd3843c97f9c103e80ca9bc.zip |
- Update to 1.52
PR: ports/103467
Submitted by: Gea-Suan Lin <gslin_AT_gslin dot org>
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/p5-Number-Format/Makefile | 3 | ||||
-rw-r--r-- | textproc/p5-Number-Format/distinfo | 6 | ||||
-rw-r--r-- | textproc/p5-Number-Format/files/patch-Format.pm | 12 | ||||
-rw-r--r-- | textproc/p5-Number-Format/files/patch-t-locale.t | 11 |
4 files changed, 10 insertions, 22 deletions
diff --git a/textproc/p5-Number-Format/Makefile b/textproc/p5-Number-Format/Makefile index 7099e00fbfe4..92c4ed97b23e 100644 --- a/textproc/p5-Number-Format/Makefile +++ b/textproc/p5-Number-Format/Makefile @@ -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 @@ MAN3= Number::Format.3 .include <bsd.port.pre.mk> 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 --git a/textproc/p5-Number-Format/distinfo b/textproc/p5-Number-Format/distinfo index 53d06dd4553a..3110e72e1399 100644 --- a/textproc/p5-Number-Format/distinfo +++ b/textproc/p5-Number-Format/distinfo @@ -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 --git a/textproc/p5-Number-Format/files/patch-Format.pm b/textproc/p5-Number-Format/files/patch-Format.pm index d09d288091a8..d5032509deb8 100644 --- a/textproc/p5-Number-Format/files/patch-Format.pm +++ b/textproc/p5-Number-Format/files/patch-Format.pm @@ -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 --git a/textproc/p5-Number-Format/files/patch-t-locale.t b/textproc/p5-Number-Format/files/patch-t-locale.t deleted file mode 100644 index 26b42393efe8..000000000000 --- a/textproc/p5-Number-Format/files/patch-t-locale.t +++ /dev/null @@ -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"; |