aboutsummaryrefslogtreecommitdiffstats
path: root/print
diff options
context:
space:
mode:
authorromain <romain@FreeBSD.org>2018-04-30 14:17:52 +0800
committerromain <romain@FreeBSD.org>2018-04-30 14:17:52 +0800
commit1fb93adb8c802254a455c7974703bf061b865b00 (patch)
treea7f7c7d8acd5a6b21406a4321b4075e09dc8efc2 /print
parent657e4f6909c079d5b9bef5a522f33e9b1dcf65a0 (diff)
downloadfreebsd-ports-gnome-1fb93adb8c802254a455c7974703bf061b865b00.tar.gz
freebsd-ports-gnome-1fb93adb8c802254a455c7974703bf061b865b00.tar.zst
freebsd-ports-gnome-1fb93adb8c802254a455c7974703bf061b865b00.zip
Unbreak with recent version of Perl
PR: 227856 Submitted by: romain Approved by: Matthias Apitz <guru@unixarea.de> (maintainer)
Diffstat (limited to 'print')
-rw-r--r--print/muttprint/Makefile2
-rw-r--r--print/muttprint/files/patch-muttprint9
2 files changed, 10 insertions, 1 deletions
diff --git a/print/muttprint/Makefile b/print/muttprint/Makefile
index 808dcb47b733..407f6102fb5b 100644
--- a/print/muttprint/Makefile
+++ b/print/muttprint/Makefile
@@ -3,7 +3,7 @@
PORTNAME= muttprint
PORTVERSION= 0.73
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= print mail
MASTER_SITES= SF/muttprint/muttprint/muttprint-${PORTVERSION}
diff --git a/print/muttprint/files/patch-muttprint b/print/muttprint/files/patch-muttprint
index bb64da9fbbec..ac45ed1eccc1 100644
--- a/print/muttprint/files/patch-muttprint
+++ b/print/muttprint/files/patch-muttprint
@@ -37,6 +37,15 @@
: "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 @@
Options: