Fix with perl 5.20+.
Sponsored by: Absolight
This commit is contained in:
parent
1aee8666e8
commit
4a3f1a86d7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=379172
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= PostScript
|
||||
PORTVERSION= 0.06
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= print perl5
|
||||
MASTER_SITES= CPAN
|
||||
PKGNAMEPREFIX= p5-
|
||||
|
11
print/p5-PostScript/files/patch-TextBlock.pm
Normal file
11
print/p5-PostScript/files/patch-TextBlock.pm
Normal file
@ -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 {
|
Loading…
Reference in New Issue
Block a user