gentoo-ebuilds/app-misc/muttprint/files/muttprint-0.73-fix-number-of-pages.patch
Sam James e3813cd620
app-misc/muttprint: port to EAPI 7
Closes: https://bugs.gentoo.org/677206
Package-Manager: Portage-3.0.14, Repoman-3.0.2
Signed-off-by: Sam James <sam@gentoo.org>
2021-02-11 02:44:01 +00:00

11 lines
330 B
Diff

--- a/muttprint
+++ b/muttprint
@@ -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$!";