diff options
author | Bernard Spil <brnrd@FreeBSD.org> | 2023-09-16 11:12:22 +0000 |
---|---|---|
committer | Bernard Spil <brnrd@FreeBSD.org> | 2023-09-16 11:12:22 +0000 |
commit | b9106a1a81c3bc0fd0746f05c7730130d70c8780 (patch) | |
tree | 9fb03506ab7b6f79b81761fc8d57e30c15f52aee | |
parent | 9646e8990fb3ef21212091f14d5942170f46c4b8 (diff) | |
download | ports-b9106a1a81c3bc0fd0746f05c7730130d70c8780.tar.gz ports-b9106a1a81c3bc0fd0746f05c7730130d70c8780.zip |
security/openssl30: Fix MAN3 option
PR: 272158
Reported by: Michael Osipov <michael osipov siemens com>
-rw-r--r-- | security/openssl30/files/extra-patch-util_find-doc-nits | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/security/openssl30/files/extra-patch-util_find-doc-nits b/security/openssl30/files/extra-patch-util_find-doc-nits index df3d58f0c5cc..e4fc20a06252 100644 --- a/security/openssl30/files/extra-patch-util_find-doc-nits +++ b/security/openssl30/files/extra-patch-util_find-doc-nits @@ -1,4 +1,4 @@ ---- util/find-doc-nits.orig 2021-09-07 11:46:32 UTC +--- util/find-doc-nits.orig 2023-08-01 13:47:24 UTC +++ util/find-doc-nits @@ -80,7 +80,7 @@ my $temp = '/tmp/docnits.txt'; my $OUT; @@ -9,12 +9,12 @@ 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 { +@@ -725,7 +725,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 - next if $target =~ /\([1357]\)$/; # it has a section + next if $target =~ /\([15]\)$/; # it has a section - err($id, "Section missing in $target") + err($id, "Missing man section number (likely, $mansect) in L<$target>") } # Check for proper links to commands. |