Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Sep 2023 17:32:26 GMT
From:      Wolfram Schneider <wosch@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 1cc5240b590b - stable/13 - switch groff parameter -man to -mandoc
Message-ID:  <202309251732.38PHWQbn009348@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/13 has been updated by wosch:

URL: https://cgit.FreeBSD.org/src/commit/?id=1cc5240b590ba13cb9a41995c8f80988007798cb

commit 1cc5240b590ba13cb9a41995c8f80988007798cb
Author:     Wolfram Schneider <wosch@FreeBSD.org>
AuthorDate: 2023-09-07 06:28:24 +0000
Commit:     Wolfram Schneider <wosch@FreeBSD.org>
CommitDate: 2023-09-25 17:30:58 +0000

    switch groff parameter -man to -mandoc
    
    groff 1.23.0 changed the semantics of the -man parameter, and many
    manual pages are not rendered. The -mandoc parameter brings back
    the old behavior, as in groff 1.22.4 and earlier.
    
    PR: 273565, 273245
    
    Reviewed by:    emaste, bapt
    MFC after: 1 week for all supported branches (stable/12, 13, 14)
    Differential Revision:  https://reviews.freebsd.org/D41737
    
    (cherry picked from commit 035f7c9a3653d91564a5513f1311aa3b6e14a17e)
---
 usr.bin/man/man.sh | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/usr.bin/man/man.sh b/usr.bin/man/man.sh
index b9c49b51d3ba..96040c533de5 100755
--- a/usr.bin/man/man.sh
+++ b/usr.bin/man/man.sh
@@ -1004,11 +1004,11 @@ do_whatis() {
 
 # User's PATH setting decides on the groff-suite to pick up.
 EQN=eqn
-NROFF='groff -S -P-h -Wall -mtty-char -man'
+NROFF='groff -S -P-h -Wall -mtty-char -mandoc'
 PIC=pic
 REFER=refer
 TBL=tbl
-TROFF='groff -S -man'
+TROFF='groff -S -mandoc'
 VGRIND=vgrind
 
 LOCALE=/usr/bin/locale



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202309251732.38PHWQbn009348>