PR 185541, lang/perl5.20, annoying bug in Math/BigInt.pm

Kurt Jaeger pi at FreeBSD.org
Mon Jun 9 14:39:33 UTC 2014


Hi!

A very small patch for lang/perl5.20 which fixes an annoying bug
as described in 185541 and in the Perl RT:

https://rt.cpan.org/Public/Bug/Display.html?id=80182

A similar patch can be applied to lang/perl5.16 and lang/perl5.18.
Should I provide poudriere logs as well ? Can this small patch
be applied ?

0) poudriere:
http://people.freebsd.org/~pi/misc/perl5.20-5.20.0_2.log

1) commit log:
------------
lang/perl5.20: PR 185541, fix Math/BigInt.pm

PR:		lang/perl5.20
Approved-by:	TODO (maintainer), TODO (mentors)
------------

2) svn diff:
------------
Index: Makefile
===================================================================
--- Makefile	(revision 357154)
+++ Makefile	(working copy)
@@ -3,7 +3,7 @@
 
 PORTNAME=	perl
 PORTVERSION=	${PERL_VERSION}
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	lang devel perl5
 MASTER_SITES=	CPAN \
 		${MASTER_SITE_LOCAL:S/$/:local/} \
Index: patch-BigInt.pm
===================================================================
--- patch-BigInt.pm	(revision 0)
+++ patch-BigInt.pm	(working copy)
@@ -0,0 +1,11 @@
+--- dist/Math-BigInt/lib/Math/BigInt.pm-orig	2014-06-09 16:22:23.000000000 +0200
++++ dist/Math-BigInt/lib/Math/BigInt.pm	2014-06-09 16:22:54.000000000 +0200
+@@ -62,7 +62,7 @@
+ '>>='	=>	sub { $_[0]->brsft($_[1]); },
+ 
+ # not supported by Perl yet
+-'..'	=>	\&_pointpoint,
++# '..'	=>	\&_pointpoint,
+ 
+ '<=>'	=>	sub { my $rc = $_[2] ?
+                       ref($_[0])->bcmp($_[1],$_[0]) : 

Property changes on: patch-BigInt.pm
___________________________________________________________________
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: fbsd:nokeywords
## -0,0 +1 ##
+yes
\ No newline at end of property
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
------------

-- 
pi at FreeBSD.org         +49 171 3101372                          6 years to go !


More information about the freebsd-perl mailing list