Michael Schröder
5e12f7ad00
OBS-URL: https://build.opensuse.org/package/show/devel:languages:perl/perl?expand=0&rev=90
20 lines
770 B
Diff
20 lines
770 B
Diff
--- ./cpan/Pod-Perldoc/lib/Pod/Perldoc/ToMan.pm.orig 2013-05-01 02:52:55.000000000 +0000
|
|
+++ ./cpan/Pod-Perldoc/lib/Pod/Perldoc/ToMan.pm 2013-06-06 13:04:50.000000000 +0000
|
|
@@ -64,7 +64,7 @@ sub _roffer_candidates {
|
|
my( $self ) = @_;
|
|
|
|
if( $self->is_openbsd ) { qw( mandoc groff nroff ) }
|
|
- else { qw( groff nroff mandoc ) }
|
|
+ else { qw( nroff groff mandoc ) }
|
|
}
|
|
|
|
sub _find_roffer {
|
|
@@ -253,6 +253,7 @@ sub _collect_nroff_switches {
|
|
# don't have a -c switch, so that unconditionally adding it here
|
|
# would presumably be a Bad Thing -- sburke@cpan.org
|
|
push @render_switches, '-c' if( $self->_is_roff and $self->is_cygwin );
|
|
+ push @render_switches, '-c' if( $self->_is_nroff );
|
|
|
|
return @render_switches;
|
|
}
|