git: 89e6ff7b62b4 - main - mail/sympa: Import upstream patch to fix warnings with perl 5.40

From: Mikael Urankar <mikael_at_FreeBSD.org>
Date: Wed, 27 Aug 2025 08:30:19 UTC
The branch main has been updated by mikael:

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

commit 89e6ff7b62b421e770831a7425a5207227eec095
Author:     Mikael Urankar <mikael@FreeBSD.org>
AuthorDate: 2025-07-08 13:23:41 +0000
Commit:     Mikael Urankar <mikael@FreeBSD.org>
CommitDate: 2025-08-27 08:30:13 +0000

    mail/sympa: Import upstream patch to fix warnings with perl 5.40
    
    Import [1] to fix the following warnings:
    Starting module bulk.pl: Duplicate specification "foreground|F" for option "f"
    Starting module archived.pl: Duplicate specification "foreground|F" for option "f"
    Starting module bounced.pl: Duplicate specification "foreground|F" for option "f"
    Starting module task_manager.pl: Duplicate specification "foreground|F" for option "f"
    
    [1] https://github.com/sympa-community/sympa/commit/088fff6ba62e229939c0213c7f44b4086d38709c
    
    PR:             288112
    Approved by:    Geoffroy Desvernay (maintainer)
---
 mail/sympa/Makefile              |  1 +
 mail/sympa/files/patch-issue1966 | 48 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 49 insertions(+)

diff --git a/mail/sympa/Makefile b/mail/sympa/Makefile
index b9bbd1a703c5..7be012ce0e75 100644
--- a/mail/sympa/Makefile
+++ b/mail/sympa/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	sympa
 DISTVERSION=	6.2.76
+PORTREVISION=	1
 CATEGORIES=	mail
 
 MAINTAINER=	dgeo@centrale-med.fr
diff --git a/mail/sympa/files/patch-issue1966 b/mail/sympa/files/patch-issue1966
new file mode 100644
index 000000000000..0abaa86d91e7
--- /dev/null
+++ b/mail/sympa/files/patch-issue1966
@@ -0,0 +1,48 @@
+https://github.com/sympa-community/sympa/issues/1966
+
+https://github.com/sympa-community/sympa/commit/088fff6ba62e229939c0213c7f44b4086d38709c
+
+--- src/sbin/archived.pl.in.orig	2025-02-03 22:52:23 UTC
++++ src/sbin/archived.pl.in
+@@ -29,7 +29,7 @@ use English qw(-no_match_vars);
+ use strict;
+ use warnings;
+ use English qw(-no_match_vars);
+-use Getopt::Long;
++use Getopt::Long qw( :config no_ignore_case );
+ use Pod::Usage;
+ use POSIX qw();
+ 
+--- src/sbin/bounced.pl.in.orig	2025-02-03 22:52:23 UTC
++++ src/sbin/bounced.pl.in
+@@ -35,7 +35,7 @@ use English qw(-no_match_vars);
+ use strict;
+ use warnings;
+ use English qw(-no_match_vars);
+-use Getopt::Long;
++use Getopt::Long qw( :config no_ignore_case );
+ use Pod::Usage;
+ use POSIX qw();
+ 
+--- src/sbin/bulk.pl.in.orig	2025-02-03 22:52:23 UTC
++++ src/sbin/bulk.pl.in
+@@ -30,7 +30,7 @@ use English qw(-no_match_vars);
+ use strict;
+ use warnings;
+ use English qw(-no_match_vars);
+-use Getopt::Long;
++use Getopt::Long qw( :config no_ignore_case );
+ use Pod::Usage;
+ use POSIX qw();
+ 
+--- src/sbin/task_manager.pl.in.orig	2025-02-03 22:52:23 UTC
++++ src/sbin/task_manager.pl.in
+@@ -30,7 +30,7 @@ use English qw(-no_match_vars);
+ use strict;
+ use warnings;
+ use English qw(-no_match_vars);
+-use Getopt::Long;
++use Getopt::Long qw( :config no_ignore_case );
+ use Pod::Usage;
+ use POSIX qw();
+