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:
@@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= Math-BigInt
|
||||
PORTVERSION= 1.999715
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= math perl5
|
||||
MASTER_SITES= CPAN
|
||||
MASTER_SITE_SUBDIR= CPAN:PJACKLAM
|
||||
|
||||
11
math/p5-Math-BigInt/files/patch-lib_Math_BigInt.pm
Normal file
11
math/p5-Math-BigInt/files/patch-lib_Math_BigInt.pm
Normal 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]) :
|
||||
Reference in New Issue
Block a user