summaryrefslogtreecommitdiff
path: root/converters/p5-JSON-PP
diff options
context:
space:
mode:
Diffstat (limited to 'converters/p5-JSON-PP')
-rw-r--r--converters/p5-JSON-PP/Makefile1
-rw-r--r--converters/p5-JSON-PP/files/patch-bin_json__pp13
2 files changed, 14 insertions, 0 deletions
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 ();