Skip to content

Commit

Permalink
security/openssl-devel: Fix MAN3 option extra-patch
Browse files Browse the repository at this point in the history
  • Loading branch information
Sp1l committed Sep 12, 2021
1 parent a09fcdd commit d7f90a4
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions security/openssl-devel/files/extra-patch-util_find-doc-nits
@@ -1,15 +1,15 @@
--- util/find-doc-nits.orig 2020-04-23 13:08:36 UTC
--- util/find-doc-nits.orig 2021-09-07 11:46:32 UTC
+++ util/find-doc-nits
@@ -81,7 +81,7 @@ my $temp = '/tmp/docnits.txt';
@@ -80,7 +80,7 @@ my $temp = '/tmp/docnits.txt';
my $OUT;
my $status = 0;

-my @sections = ( 'man1', 'man3', 'man5', 'man7' );
+my @sections = ( 'man1', 'man5' );
my %mandatory_sections = (
'*' => [ 'NAME', 'DESCRIPTION', 'COPYRIGHT' ],
1 => [ 'SYNOPSIS', 'OPTIONS' ],
@@ -640,7 +640,7 @@ sub check {
-$opt_m = "man1,man3,man5,man7" unless $opt_m;
+$opt_m = "man1,man5" unless $opt_m;
die "Argument of -m option may contain only man1, man3, man5, and/or man7"
unless $opt_m =~ /^(man[1357][, ]?)*$/;
my @sections = ( split /[, ]/, $opt_m );
@@ -721,7 +721,7 @@ sub check {
next if $target eq ''; # Skip if links within page, or
next if $target =~ /::/; # links to a Perl module, or
next if $target =~ /^https?:/; # is a URL link, or
Expand Down

0 comments on commit d7f90a4

Please sign in to comment.