git: ebc840a50b76 - main - security/openssl-quictls: Fix MAN3 option

From: Bernard Spil <brnrd_at_FreeBSD.org>
Date: Tue, 12 Sep 2023 06:56:21 UTC
The branch main has been updated by brnrd:

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

commit ebc840a50b767e4660ecfc5200a91289838faff1
Author:     Bernard Spil <brnrd@FreeBSD.org>
AuthorDate: 2023-09-12 06:55:45 +0000
Commit:     Bernard Spil <brnrd@FreeBSD.org>
CommitDate: 2023-09-12 06:55:45 +0000

    security/openssl-quictls: Fix MAN3 option
    
    Reported by:    Mergen Agayev
---
 security/openssl-quictls/files/extra-patch-util_find-doc-nits | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/security/openssl-quictls/files/extra-patch-util_find-doc-nits b/security/openssl-quictls/files/extra-patch-util_find-doc-nits
index df3d58f0c5cc..947f7447a445 100644
--- a/security/openssl-quictls/files/extra-patch-util_find-doc-nits
+++ b/security/openssl-quictls/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-03 13:45:48 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.