From owner-svn-ports-head@FreeBSD.ORG Tue Feb 17 16:05:03 2015 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 97BC7D64; Tue, 17 Feb 2015 16:05:03 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 82B1099F; Tue, 17 Feb 2015 16:05:03 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id t1HG538X091537; Tue, 17 Feb 2015 16:05:03 GMT (envelope-from mat@FreeBSD.org) Received: (from mat@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id t1HG530H091534; Tue, 17 Feb 2015 16:05:03 GMT (envelope-from mat@FreeBSD.org) Message-Id: <201502171605.t1HG530H091534@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: mat set sender to mat@FreeBSD.org using -f From: Mathieu Arnold Date: Tue, 17 Feb 2015 16:05:03 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r379172 - in head/print/p5-PostScript: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Feb 2015 16:05:03 -0000 Author: mat Date: Tue Feb 17 16:05:02 2015 New Revision: 379172 URL: https://svnweb.freebsd.org/changeset/ports/379172 QAT: https://qat.redports.org/buildarchive/r379172/ Log: Fix with perl 5.20+. Sponsored by: Absolight Added: head/print/p5-PostScript/files/ head/print/p5-PostScript/files/patch-TextBlock.pm (contents, props changed) Modified: head/print/p5-PostScript/Makefile Modified: head/print/p5-PostScript/Makefile ============================================================================== --- head/print/p5-PostScript/Makefile Tue Feb 17 16:02:50 2015 (r379171) +++ head/print/p5-PostScript/Makefile Tue Feb 17 16:05:02 2015 (r379172) @@ -3,7 +3,7 @@ PORTNAME= PostScript PORTVERSION= 0.06 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= print perl5 MASTER_SITES= CPAN PKGNAMEPREFIX= p5- Added: head/print/p5-PostScript/files/patch-TextBlock.pm ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/print/p5-PostScript/files/patch-TextBlock.pm Tue Feb 17 16:05:02 2015 (r379172) @@ -0,0 +1,11 @@ +--- TextBlock.pm.orig 1999-08-11 14:04:36 UTC ++++ TextBlock.pm +@@ -54,7 +54,7 @@ sub numElements { + # Returns the number of elements in the TextBlock + # + my $self = shift; +- return $#{@$self}+1; ++ return scalar(@$self); + } + + sub Write {