git: 41f78546c337 - main - net/p5-Net-Gnats: fix with Perl 5.36

From: Mathieu Arnold <mat_at_FreeBSD.org>
Date: Wed, 01 Jun 2022 13:02:15 UTC
The branch main has been updated by mat:

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

commit 41f78546c337123f651e5318380a9aa82a19eacf
Author:     Mathieu Arnold <mat@FreeBSD.org>
AuthorDate: 2022-06-01 12:28:40 +0000
Commit:     Mathieu Arnold <mat@FreeBSD.org>
CommitDate: 2022-06-01 12:54:34 +0000

    net/p5-Net-Gnats: fix with Perl 5.36
---
 net/p5-Net-Gnats/files/patch-perl536 | 52 ++++++++++++++++++++++++++++++++++++
 1 file changed, 52 insertions(+)

diff --git a/net/p5-Net-Gnats/files/patch-perl536 b/net/p5-Net-Gnats/files/patch-perl536
new file mode 100644
index 000000000000..b2441917c687
--- /dev/null
+++ b/net/p5-Net-Gnats/files/patch-perl536
@@ -0,0 +1,52 @@
+--- META.json.orig	2015-11-08 02:20:30 UTC
++++ META.json
+@@ -33,7 +33,7 @@
+       },
+       "runtime" : {
+          "requires" : {
+-            "perl" : "5.010_000",
++            "perl" : "5.010",
+             "strictures" : "0"
+          }
+       }
+--- META.yml.orig	2015-11-08 02:20:30 UTC
++++ META.yml
+@@ -19,7 +19,7 @@ no_index:
+     - t
+     - inc
+ requires:
+-  perl: 5.010_000
++  perl: 5.010
+   strictures: '0'
+ version: '0.22'
+ x_serialization_backend: 'CPAN::Meta::YAML version 0.016'
+--- Makefile.PL.orig	2015-11-08 02:14:07 UTC
++++ Makefile.PL
+@@ -5,6 +5,6 @@ WriteMakefile(
+               VERSION_FROM     => 'lib/Net/Gnats.pm',
+               AUTHOR           => 'Richard Elberger <riche@cpan.org>, ',
+               ABSTRACT         => 'Interface to GNU Gnats Daemon',
+-              MIN_PERL_VERSION => '5.010_000',
++              MIN_PERL_VERSION => '5.010',
+               PREREQ_PM        => { 'strictures' => 0 },
+               TEST_REQUIRES    => { 'Test::MockObject' => 0 }, );
+--- lib/Net/Gnats.pm.orig	2015-11-08 02:19:19 UTC
++++ lib/Net/Gnats.pm
+@@ -2,7 +2,7 @@ package Net::Gnats;
+ BEGIN {
+   $Net::Gnats::VERSION = '0.22';
+ }
+-use 5.010_000;
++use 5.010;
+ use utf8;
+ use strictures;
+ use English '-no_match_vars';
+--- lib/Net/Gnats/PR.pm.orig	2015-11-08 02:18:04 UTC
++++ lib/Net/Gnats/PR.pm
+@@ -1,5 +1,5 @@
+ package Net::Gnats::PR;
+-use 5.010_000;
++use 5.010;
+ use utf8;
+ use strictures;
+