Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Feb 2016 17:41:51 +0000 (UTC)
From:      Kurt Jaeger <pi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r408433 - in head/math/p5-Math-BigInt: . files
Message-ID:  <201602071741.u17Hfp6G050147@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pi
Date: Sun Feb  7 17:41:50 2016
New Revision: 408433
URL: https://svnweb.freebsd.org/changeset/ports/408433

Log:
  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)

Added:
  head/math/p5-Math-BigInt/files/
  head/math/p5-Math-BigInt/files/patch-lib_Math_BigInt.pm   (contents, props changed)
Modified:
  head/math/p5-Math-BigInt/Makefile

Modified: head/math/p5-Math-BigInt/Makefile
==============================================================================
--- head/math/p5-Math-BigInt/Makefile	Sun Feb  7 17:39:35 2016	(r408432)
+++ head/math/p5-Math-BigInt/Makefile	Sun Feb  7 17:41:50 2016	(r408433)
@@ -3,6 +3,7 @@
 
 PORTNAME=	Math-BigInt
 PORTVERSION=	1.999715
+PORTREVISION=	1
 CATEGORIES=	math perl5
 MASTER_SITES=	CPAN
 MASTER_SITE_SUBDIR=	CPAN:PJACKLAM

Added: head/math/p5-Math-BigInt/files/patch-lib_Math_BigInt.pm
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/math/p5-Math-BigInt/files/patch-lib_Math_BigInt.pm	Sun Feb  7 17:41:50 2016	(r408433)
@@ -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]) :



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602071741.u17Hfp6G050147>