Package: groff-base Version: 1.22.4-3 Severity: normal Tags: patch Dear Maintainer,
There is a bug in groff 1.22.4 that causes groff to print a diagnostic to stderr when an argument to .Lk starts with a dot: troff: man/SSL_CTX_set_max_cert_list.3:126: name expected (got '\c'): treated as missing This issue is reproducible by rendering man/SSL_CTX_set_max_cert_list.3 in LibreSSL-portable with groff -mdoc; you may have to pipe to something other than less(1) to see the diagnostic. This has been fixed in upstream groff 1.22.4 (but reportbug(1) wouldn't let me tag this fixed-upstream for some reason) in git commit 76e4db6e839904d2e2a28b29b483678214598f3b on 2019-01-12. I've tested the attached patch and it seemed to resolve the issue for me. Thank you for your time. -- System Information: Debian Release: 10.2 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 4.19.0-6-amd64 (SMP w/4 CPU cores) Kernel taint flags: TAINT_WARN Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US:en (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) LSM: AppArmor: enabled Versions of packages groff-base depends on: ii libc6 2.28-10 ii libgcc1 1:8.3.0-6 ii libstdc++6 8.3.0-6 ii libuchardet0 0.0.6-3 groff-base recommends no packages. Versions of packages groff-base suggests: ii groff 1.22.4-3 -- no debconf information
diff --git a/tmac/doc.tmac-u b/tmac/doc.tmac-u index f172fd89..70236c04 100644 --- a/tmac/doc.tmac-u +++ b/tmac/doc.tmac-u @@ -6485,10 +6485,11 @@ . if (\n[doc-arg-ptr] <= \n[doc-lasttext-Lk]) \{\ . nop \*[doc-Em-font]\c . while (\n[doc-arg-ptr] < \n[doc-lasttext-Lk]) \{\ -. nop \*[doc-arg\n[doc-arg-ptr]] +. nop \&\*[doc-arg\n[doc-arg-ptr]] . nr doc-arg-ptr +1 . \} -. nop \*[doc-arg\n[doc-arg-ptr]]\f[\n[doc-curr-font]]\s[\n[doc-curr-size]u]: +. nop \&\*[doc-arg\n[doc-arg-ptr]]\c +. nop \f[\n[doc-curr-font]]\s[\n[doc-curr-size]u]: . nr doc-arg-ptr +1 . \} . @@ -6498,7 +6499,7 @@ . . \" Print the delimiters, if any. . while (\n[doc-arg-ptr] <= \n[doc-arg-limit]) \{\ -. nop \*[doc-arg\n[doc-arg-ptr]]\c +. nop \&\*[doc-arg\n[doc-arg-ptr]]\c . nr doc-arg-ptr +1 . \} . nop \&