git: 62c0cb715eff - main - converters/p5-JSON-PP: Rename patch files
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 07 Sep 2025 23:11:27 UTC
The branch main has been updated by sunpoet:
URL: https://cgit.FreeBSD.org/ports/commit/?id=62c0cb715eff675c0131b3ca9f0dc8edff0a1d4a
commit 62c0cb715eff675c0131b3ca9f0dc8edff0a1d4a
Author: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2025-09-07 22:35:02 +0000
Commit: Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2025-09-07 23:03:25 +0000
converters/p5-JSON-PP: Rename patch files
- Use upstream patch link
Reference: https://github.com/makamaka/JSON-PP/commit/7052740e158491666e4f27d75241617a16170102
---
converters/p5-JSON-PP/Makefile | 3 +++
converters/p5-JSON-PP/distinfo | 4 +++-
converters/p5-JSON-PP/files/patch-MANIFEST | 9 ---------
converters/p5-JSON-PP/files/patch-bin_json__pp | 13 -------------
.../p5-JSON-PP/files/{patch-Makefile.PL => patch-json_pp} | 9 +++++++++
5 files changed, 15 insertions(+), 23 deletions(-)
diff --git a/converters/p5-JSON-PP/Makefile b/converters/p5-JSON-PP/Makefile
index e41f4e94a06f..9b2eaff746f5 100644
--- a/converters/p5-JSON-PP/Makefile
+++ b/converters/p5-JSON-PP/Makefile
@@ -6,6 +6,9 @@ MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:ISHIGAKI
PKGNAMEPREFIX= p5-
+PATCH_SITES= https://github.com/makamaka/JSON-PP/commit/
+PATCHFILES= 7052740e158491666e4f27d75241617a16170102.patch:-p1
+
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= JSON::XS compatible pure-Perl module
WWW= https://metacpan.org/release/JSON-PP
diff --git a/converters/p5-JSON-PP/distinfo b/converters/p5-JSON-PP/distinfo
index 3a5a214ff553..2517ab99f594 100644
--- a/converters/p5-JSON-PP/distinfo
+++ b/converters/p5-JSON-PP/distinfo
@@ -1,3 +1,5 @@
-TIMESTAMP = 1674589600
+TIMESTAMP = 1757120568
SHA256 (JSON-PP-4.16.tar.gz) = 8bc2f162bafc42645c489905ad72540f0d3c284b360c96299095183c30cc9789
SIZE (JSON-PP-4.16.tar.gz) = 55556
+SHA256 (7052740e158491666e4f27d75241617a16170102.patch) = dc9758a6bccb736e8acd7fb036de651e9bc64fcc8640e26a79c16d219880a9ec
+SIZE (7052740e158491666e4f27d75241617a16170102.patch) = 682
diff --git a/converters/p5-JSON-PP/files/patch-MANIFEST b/converters/p5-JSON-PP/files/patch-MANIFEST
deleted file mode 100644
index b673cdfcbe02..000000000000
--- a/converters/p5-JSON-PP/files/patch-MANIFEST
+++ /dev/null
@@ -1,9 +0,0 @@
---- MANIFEST.orig 2022-07-31 06:10:05 UTC
-+++ MANIFEST
-@@ -1,5 +1,5 @@
- .travis.yml
--bin/json_pp
-+bin/p5json_pp
- Changes
- lib/JSON/PP.pm
- lib/JSON/PP/Boolean.pm
diff --git a/converters/p5-JSON-PP/files/patch-bin_json__pp b/converters/p5-JSON-PP/files/patch-bin_json__pp
deleted file mode 100644
index 3a4471fc7983..000000000000
--- a/converters/p5-JSON-PP/files/patch-bin_json__pp
+++ /dev/null
@@ -1,13 +0,0 @@
-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 ();
diff --git a/converters/p5-JSON-PP/files/patch-Makefile.PL b/converters/p5-JSON-PP/files/patch-json_pp
similarity index 75%
rename from converters/p5-JSON-PP/files/patch-Makefile.PL
rename to converters/p5-JSON-PP/files/patch-json_pp
index 7260e33de101..0f62c24bc5b0 100644
--- a/converters/p5-JSON-PP/files/patch-Makefile.PL
+++ b/converters/p5-JSON-PP/files/patch-json_pp
@@ -9,3 +9,12 @@
'ABSTRACT_FROM' => 'lib/JSON/PP.pm', # retrieve abstract from module
'AUTHOR' => 'Makamaka Hannyaharamitu, E<lt>makamaka[at]cpan.orgE<gt>',
( $ExtUtils::MakeMaker::VERSION >= 6.3002 ? ('LICENSE' => 'perl', ) : () ),
+--- MANIFEST.orig 2022-07-31 06:10:05 UTC
++++ MANIFEST
+@@ -1,5 +1,5 @@
+ .travis.yml
+-bin/json_pp
++bin/p5json_pp
+ Changes
+ lib/JSON/PP.pm
+ lib/JSON/PP/Boolean.pm