···11+Add the -m option to man's command line to augment the list of paths
22+searched by man. The string "OUT" must be substituted with chawan's $out
33+path after patching.
44+The required -m option is only available in the mandoc implementation.
55+--- a/adapter/protocol/man
66++++ b/adapter/protocol/man
77+@@ -75,7 +75,7 @@ EOF
88+99+ $section =~ s:([^-\w\200-\377.,])::g;
1010+ $man =~ s:([^-\w\200-\377.,])::g;
1111+- open(F, "GROFF_NO_SGR=1 MAN_KEEP_FORMATTING=1 $MAN $section $man 2> /dev/null |");
1212++ open(F, "GROFF_NO_SGR=1 MAN_KEEP_FORMATTING=1 $MAN -m OUT/share/man $section $man 2> /dev/null |");
1313+ }
1414+1515+ $ok = 0;