From 9560eaa378ddde4b6dc0164c4ce9b7fd18ecd38b Mon Sep 17 00:00:00 2001 From: Kurt Jaeger Date: Tue, 10 Jun 2014 09:21:22 +0000 Subject: [PATCH] lang/perl5.16: fix warning in Math/BigInt.pm See also https://rt.cpan.org/Public/Bug/Display.html?id=80182 PR: ports/185541 Approved-by: tobez (maintainer timeout), jadawin (mentor) --- lang/perl5.16/Makefile | 2 +- lang/perl5.16/files/patch-BigInt.pm | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 lang/perl5.16/files/patch-BigInt.pm diff --git a/lang/perl5.16/Makefile b/lang/perl5.16/Makefile index e915735acd71..d97e75c7dfcc 100644 --- a/lang/perl5.16/Makefile +++ b/lang/perl5.16/Makefile @@ -3,7 +3,7 @@ PORTNAME= perl PORTVERSION= ${PERL_VERSION} -PORTREVISION= 10 +PORTREVISION= 11 CATEGORIES= lang devel perl5 MASTER_SITES= CPAN \ ${MASTER_SITE_LOCAL:S/$/:local/} \ diff --git a/lang/perl5.16/files/patch-BigInt.pm b/lang/perl5.16/files/patch-BigInt.pm new file mode 100644 index 000000000000..8c56e2859ff4 --- /dev/null +++ b/lang/perl5.16/files/patch-BigInt.pm @@ -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]) :