aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Spil <brnrd@FreeBSD.org>2021-09-12 10:37:49 +0000
committerBernard Spil <brnrd@FreeBSD.org>2021-09-12 10:37:49 +0000
commitd7f90a4472c5104c1a8e126fed0d386167ba5d71 (patch)
tree485249583b4f4c960b985377c0138cee13e29157
parenta09fcddea0001e0a433be7e178dd2b934650d8fa (diff)
downloadports-d7f90a4472c5104c1a8e126fed0d386167ba5d71.tar.gz
ports-d7f90a4472c5104c1a8e126fed0d386167ba5d71.zip
security/openssl-devel: Fix MAN3 option extra-patch
-rw-r--r--security/openssl-devel/files/extra-patch-util_find-doc-nits16
1 files changed, 8 insertions, 8 deletions
diff --git a/security/openssl-devel/files/extra-patch-util_find-doc-nits b/security/openssl-devel/files/extra-patch-util_find-doc-nits
index 87cee3fe9839..df3d58f0c5cc 100644
--- a/security/openssl-devel/files/extra-patch-util_find-doc-nits
+++ b/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