Unbreak with recent version of Perl
PR: 227856 Submitted by: romain Approved by: Matthias Apitz <guru@unixarea.de> (maintainer)
This commit is contained in:
parent
685fa0a76e
commit
8ef4e31f30
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=468672
2 changed files with 10 additions and 1 deletions
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
PORTNAME= muttprint
|
PORTNAME= muttprint
|
||||||
PORTVERSION= 0.73
|
PORTVERSION= 0.73
|
||||||
PORTREVISION= 1
|
PORTREVISION= 2
|
||||||
CATEGORIES= print mail
|
CATEGORIES= print mail
|
||||||
MASTER_SITES= SF/muttprint/muttprint/muttprint-${PORTVERSION}
|
MASTER_SITES= SF/muttprint/muttprint/muttprint-${PORTVERSION}
|
||||||
|
|
||||||
|
|
|
@ -37,6 +37,15 @@
|
||||||
: "off";
|
: "off";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -1633,7 +1633,7 @@ sub getNumberOfPages ($) {
|
||||||
|
open (AUX, "$auxfile") or fatalError "Could not open $auxfile:\n$!";
|
||||||
|
|
||||||
|
while (<AUX>) {
|
||||||
|
- ($numberOfPages) = /\\newlabel{LastPage}{{}{(\d+)}}/;
|
||||||
|
+ ($numberOfPages) = /\\newlabel\{LastPage\}\{\{\}\{(\d+)\}\}/;
|
||||||
|
}
|
||||||
|
|
||||||
|
close AUX or fatalError "Could not close $auxfile:\n$!";
|
||||||
@@ -2027,7 +2027,7 @@
|
@@ -2027,7 +2027,7 @@
|
||||||
Options:
|
Options:
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue