Summary: | math/p5-Math-BigInt: overloading .. fails | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | papowell | ||||||
Component: | Individual Port(s) | Assignee: | Kurt Jaeger <pi> | ||||||
Status: | Closed FIXED | ||||||||
Severity: | Affects Many People | CC: | pi | ||||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(tobez) |
||||||
Version: | Latest | ||||||||
Hardware: | Any | ||||||||
OS: | Any | ||||||||
Attachments: |
|
Auto-assigned to maintainer tobez@FreeBSD.org Created attachment 166715 [details]
patch
Updated patch. lang/perl5* provides its own bigint module, with that patch already included. So here's the one for the seperate module.
A commit references this bug: Author: pi Date: Sun Feb 7 17:41:51 UTC 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) Changes: head/math/p5-Math-BigInt/Makefile head/math/p5-Math-BigInt/files/ head/math/p5-Math-BigInt/files/patch-lib_Math_BigInt.pm Committed, thanks. |
Created attachment 151693 [details] SHAR of modified p5-Math-BigInt port The Math::BigInt - Arbitrary size integer math package tries to overload the '..' operator. This is not allowed/supported by Perl 5.18 (and earlier, I suspect). In the BigInt.pm module there are comments to this effect. This patch comments out the overload '..' operation. If overloading of '..' is allowed at some point then this issue may need to be revisited. Attached is a SHAR file of the modified p5-Math-BigInt port.