2017-08-30 14:50:14 +02:00
|
|
|
--- ./cpan/Pod-Perldoc/lib/Pod/Perldoc/ToMan.pm.orig 2017-04-19 13:37:05.000000000 +0000
|
|
|
|
+++ ./cpan/Pod-Perldoc/lib/Pod/Perldoc/ToMan.pm 2017-08-30 12:12:38.967184117 +0000
|
2012-05-23 17:21:30 +02:00
|
|
|
@@ -64,7 +64,7 @@ sub _roffer_candidates {
|
|
|
|
my( $self ) = @_;
|
2009-01-14 17:44:56 +01:00
|
|
|
|
2017-08-30 14:50:14 +02:00
|
|
|
if( $self->is_openbsd || $self->is_freebsd || $self->is_bitrig ) { qw( mandoc groff nroff ) }
|
2012-05-23 17:21:30 +02:00
|
|
|
- else { qw( groff nroff mandoc ) }
|
|
|
|
+ else { qw( nroff groff mandoc ) }
|
|
|
|
}
|
2009-01-14 17:44:56 +01:00
|
|
|
|
2012-05-23 17:21:30 +02:00
|
|
|
sub _find_roffer {
|
2014-06-02 17:21:22 +02:00
|
|
|
@@ -232,6 +232,7 @@ sub _collect_nroff_switches {
|
2012-05-23 17:21:30 +02:00
|
|
|
# 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 );
|
2009-01-14 17:44:56 +01:00
|
|
|
|
2012-05-23 17:21:30 +02:00
|
|
|
return @render_switches;
|
|
|
|
}
|