summaryrefslogtreecommitdiff
path: root/math/p5-Math-BigInt/files/patch-lib_Math_BigInt.pm
diff options
context:
space:
mode:
authorKurt Jaeger <pi@FreeBSD.org>2016-02-07 17:41:50 +0000
committerKurt Jaeger <pi@FreeBSD.org>2016-02-07 17:41:50 +0000
commit9bea4e0ea1aef10e9055fe272538de2ffd47a4dc (patch)
treeaddc8f5deb6c8fca307254df1312bbcfe63b2e4b /math/p5-Math-BigInt/files/patch-lib_Math_BigInt.pm
parenteric6 ports: Update to version 6.1.2. (diff)
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)
Diffstat (limited to 'math/p5-Math-BigInt/files/patch-lib_Math_BigInt.pm')
-rw-r--r--math/p5-Math-BigInt/files/patch-lib_Math_BigInt.pm11
1 files changed, 11 insertions, 0 deletions
diff --git a/math/p5-Math-BigInt/files/patch-lib_Math_BigInt.pm b/math/p5-Math-BigInt/files/patch-lib_Math_BigInt.pm
new file mode 100644
index 000000000000..819dd392e960
--- /dev/null
+++ b/math/p5-Math-BigInt/files/patch-lib_Math_BigInt.pm
@@ -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]) :