mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
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
2 changed files with 12 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue