Follow-up Comment #3, bug #53271 (project groff):
>From b079ea6d099b0ea93eacb5ca113a67c0d02e3513 Mon Sep 17 00:00:00 2001 From: Bjarni Ingi Gislason <[email protected]> Date: Sat, 28 Apr 2018 01:39:12 +0000 Subject: [PATCH] m4/groff.m4: Find '[aA]4' anywhere in the 'papersize' line In the Debian distribution the "a4" is not found, as it is not the first argument of the "papersize" line. Signed-off-by: Bjarni Ingi Gislason <[email protected]> --- m4/groff.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m4/groff.m4 b/m4/groff.m4 index f749b479..f846a802 100644 --- a/m4/groff.m4 +++ b/m4/groff.m4 @@ -796,7 +796,7 @@ AC_DEFUN([GROFF_PAGE], if test -n "$descfile"; then if grep ['^paperlength[ ]\+841890'] $descfile >/dev/null 2>&1; then PAGE=A4 - elif grep ['^papersize[ ]\+[aA]4'] $descfile >/dev/null 2>&1; then + elif grep ['^papersize.*[ ]\+[aA]4'] $descfile > /dev/null 2>&1; then PAGE=A4 fi fi -- 2.17.0 _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?53271> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/ _______________________________________________ bug-groff mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-groff
