math/p5-Math-BigInt: the overload of '..' is still not supported in perl

- Similar patch is done in the lang/perl* ports

PR:		196773
Submitted by:	papowell@astart.com
Approved by:	tobez (maintainer timeout)
This commit is contained in:
Kurt Jaeger
2016-02-07 17:41:50 +00:00
parent 1fbca2a4f4
commit 9bea4e0ea1
2 changed files with 12 additions and 0 deletions

View File

@@ -3,6 +3,7 @@
PORTNAME= Math-BigInt
PORTVERSION= 1.999715
PORTREVISION= 1
CATEGORIES= math perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:PJACKLAM

View File

@@ -0,0 +1,11 @@
--- lib/Math/BigInt.pm.orig 2016-02-07 17:28:38 UTC
+++ lib/Math/BigInt.pm
@@ -65,7 +65,7 @@ use overload
'>>=' => sub { $_[0]->brsft($_[1]); },
# not supported by Perl yet
-'..' => \&_pointpoint,
+#'..' => \&_pointpoint,
'<=>' => sub { my $rc = $_[2] ?
ref($_[0])->bcmp($_[1],$_[0]) :