summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/muttprint/files/muttprint-0.73-fix-number-of-pages.patch')
-rw-r--r--app-misc/muttprint/files/muttprint-0.73-fix-number-of-pages.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/app-misc/muttprint/files/muttprint-0.73-fix-number-of-pages.patch b/app-misc/muttprint/files/muttprint-0.73-fix-number-of-pages.patch
new file mode 100644
index 000000000000..0e7a4b4f94ff
--- /dev/null
+++ b/app-misc/muttprint/files/muttprint-0.73-fix-number-of-pages.patch
@@ -0,0 +1,12 @@
+diff -Nuar a/muttprint b/muttprint
+--- a/muttprint 2016-09-23 10:03:48.870030157 +0200
++++ b/muttprint 2016-09-23 10:08:39.310036004 +0200
+@@ -1635,7 +1635,7 @@
+ 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$!";