git: d7f90a4472c5 - main - security/openssl-devel: Fix MAN3 option extra-patch

Bernard Spil brnrd at FreeBSD.org
Sun Sep 12 10:37:58 UTC 2021


The branch main has been updated by brnrd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=d7f90a4472c5104c1a8e126fed0d386167ba5d71

commit d7f90a4472c5104c1a8e126fed0d386167ba5d71
Author:     Bernard Spil <brnrd at FreeBSD.org>
AuthorDate: 2021-09-12 10:37:49 +0000
Commit:     Bernard Spil <brnrd at FreeBSD.org>
CommitDate: 2021-09-12 10:37:49 +0000

    security/openssl-devel: Fix MAN3 option extra-patch
---
 .../openssl-devel/files/extra-patch-util_find-doc-nits   | 16 ++++++++--------
 1 file 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


More information about the dev-commits-ports-main mailing list