lang/perl5.42: silence Getopt::Long duplicate‐spec warning in json_pp

PR:	286820
This commit is contained in:
Mathieu Arnold 2025-08-20 14:31:38 +02:00
parent 0716259099
commit 07162600cd
No known key found for this signature in database
GPG Key ID: 7F620E0A9E9D41BE
2 changed files with 14 additions and 0 deletions

View File

@ -1,5 +1,6 @@
PORTNAME= perl
DISTVERSION= ${PERL_VERSION}
PORTREVISION= 1
CATEGORIES= lang devel perl5
MASTER_SITES= CPAN/../../src/5.0 CPAN/../by-authors/id/B/BO/BOOK
DIST_SUBDIR= perl

View File

@ -0,0 +1,13 @@
Silence Getopt::Long warning
--- cpan/JSON-PP/bin/json_pp.orig 2025-05-15 13:39:16 UTC
+++ cpan/JSON-PP/bin/json_pp
@@ -2,7 +2,7 @@ use strict;
BEGIN { pop @INC if $INC[-1] eq '.' }
use strict;
-use Getopt::Long;
+use Getopt::Long qw( :config no_ignore_case );
use Encode ();
use JSON::PP ();