Page MenuHomeFreeBSD

switch groff parameter -man to -mandoc
ClosedPublic

Authored by wosch on Sep 5 2023, 5:04 PM.
Tags
None
Referenced Files
Unknown Object (File)
Jan 27 2024, 3:22 PM
Unknown Object (File)
Dec 23 2023, 10:15 AM
Unknown Object (File)
Dec 23 2023, 2:34 AM
Unknown Object (File)
Dec 6 2023, 2:31 AM
Unknown Object (File)
Dec 4 2023, 8:37 AM
Unknown Object (File)
Oct 15 2023, 7:16 AM
Unknown Object (File)
Oct 15 2023, 7:16 AM
Unknown Object (File)
Oct 15 2023, 7:16 AM
Subscribers
None

Details

Summary

groff 1.23.0 changed the semantic of the -man parameter, and many manual pages will fail to render. The -mandoc parameter brings the old behaviour back, as in groff 1.22.4 and earlier.

MFC after: 1 week for all supported branches (stable/12, 13, 14)
PR: 273565, 273245

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

wosch requested review of this revision.Sep 5 2023, 5:04 PM
wosch created this revision.

Is there any backwards compatibility issue here? I.e., are there any groff versions still relevant in FreeBSD that don't support -mandoc?

This revision is now accepted and ready to land.Sep 5 2023, 5:13 PM

Is there any backwards compatibility issue here? I.e., are there any groff versions still relevant in FreeBSD that don't support -mandoc?

As I understand the groff developer, the -mandoc flag exists for 22 years. I don't expect this change will break anything.

See the discussion
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273245

This revision was automatically updated to reflect the committed changes.