FreeBSD Bugzilla – Attachment 70973 Details for
Bug 103467
[PATCH] textproc/p5-Number-Format: update to 1.52
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
p5-Number-Format-1.52.patch
p5-Number-Format-1.52.patch (text/plain), 3.13 KB, created by
gslin
on 2006-09-22 01:50:15 UTC
(
hide
)
Description:
p5-Number-Format-1.52.patch
Filename:
MIME Type:
Creator:
gslin
Created:
2006-09-22 01:50:15 UTC
Size:
3.13 KB
patch
obsolete
>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 <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 -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";
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 103467
: 70973