git: 071625909978 - main - =?utf-8?Q?converters/p5-JSON-PP: silence Getopt::Long duplicate=E2=80=90spec warnin=Q?converters/p5-JSON-PP: silence Getopt::Long duplicate=E2=80=90spec warnin=
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 20 Aug 2025 12:37:42 UTC
g?=
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 8bit
X-Git-Committer: mat
X-Git-Repository: ports
X-Git-Refname: refs/heads/main
X-Git-Reftype: branch
X-Git-Commit: 07162590997851b137206b1119cc839a116662dd
Auto-Submitted: auto-generated
The branch main has been updated by mat:
URL: https://cgit.FreeBSD.org/ports/commit/?id=07162590997851b137206b1119cc839a116662dd
commit 07162590997851b137206b1119cc839a116662dd
Author: Mathieu Arnold <mat@FreeBSD.org>
AuthorDate: 2025-08-20 12:31:00 +0000
Commit: Mathieu Arnold <mat@FreeBSD.org>
CommitDate: 2025-08-20 12:36:18 +0000
converters/p5-JSON-PP: silence Getopt::Long duplicateāspec warning
PR: 286820
---
converters/p5-JSON-PP/Makefile | 1 +
converters/p5-JSON-PP/files/patch-bin_json__pp | 13 +++++++++++++
2 files changed, 14 insertions(+)
diff --git a/converters/p5-JSON-PP/Makefile b/converters/p5-JSON-PP/Makefile
index e1550a578b25..e41f4e94a06f 100644
--- a/converters/p5-JSON-PP/Makefile
+++ b/converters/p5-JSON-PP/Makefile
@@ -1,5 +1,6 @@
PORTNAME= JSON-PP
PORTVERSION= 4.16
+PORTREVISION= 1
CATEGORIES= converters perl5
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:ISHIGAKI
diff --git a/converters/p5-JSON-PP/files/patch-bin_json__pp b/converters/p5-JSON-PP/files/patch-bin_json__pp
new file mode 100644
index 000000000000..3a4471fc7983
--- /dev/null
+++ b/converters/p5-JSON-PP/files/patch-bin_json__pp
@@ -0,0 +1,13 @@
+Silence Getopt::Long warning
+
+--- bin/json_pp.orig 2025-08-20 12:20:56 UTC
++++ 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 ();