Skip to content

Commit

Permalink
ovs.tmac: Fix troff warning in versions above groff-1.23.
Browse files Browse the repository at this point in the history
When the compilation dependency is groff-1.23, the following message is
displayed in the compilation log, and the compilation fails:

  troff:vswitchd/ovs-vswitchd.8:1298: warning: cannot select font 'CW'
  make[1]: *** [Makefile:6761: manpage-check] Error 1

CW font was removed and and now groff warns about non-existent font:
 https://git.savannah.gnu.org/cgit/groff.git/commit/?id=d75ea8b2e283e37bd560e821fa4597065f36725f)

Fix that by replacing CW with CR.  CW supposed to be an alias of CR
anyway.

Submitted-at: #416
Co-authored-by: Xiaojie Chen <[email protected]>
Signed-off-by: Xiaojie Chen <[email protected]>
Signed-off-by: gordonwwang <[email protected]>
Signed-off-by: Ilya Maximets <[email protected]>
  • Loading branch information
2 people authored and igsilya committed Aug 17, 2023
1 parent d80df0b commit 0945e1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ovs.tmac
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@
. nr mE \\n(.f
. nf
. nh
. ft CW
. ft CR
..
.
.
Expand Down

0 comments on commit 0945e1a

Please sign in to comment.