From 41f78546c337123f651e5318380a9aa82a19eacf Mon Sep 17 00:00:00 2001 From: Mathieu Arnold Date: Wed, 1 Jun 2022 14:28:40 +0200 Subject: [PATCH] net/p5-Net-Gnats: fix with Perl 5.36 --- net/p5-Net-Gnats/files/patch-perl536 | 52 ++++++++++++++++++++++++++++ 1 file changed, 52 insertions(+) create mode 100644 net/p5-Net-Gnats/files/patch-perl536 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 , ', + 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; +