Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

perl: Getopt::Long got picky about ignoring case from version 2.55 on (r151052) #3779

Open
wants to merge 1 commit into
base: r151052
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 25 additions & 0 deletions build/perl/patches/getopt.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
From 7052740e158491666e4f27d75241617a16170102 Mon Sep 17 00:00:00 2001
From: Heiko Jansen <[email protected]>
Date: Wed, 20 Nov 2024 09:51:00 +0100
Subject: [PATCH] Silence Getopt::Long warning

Getopt::Long >= 2.55 produces the warning
'Duplicate specification "V" for option "v"
See issue #88 for prior report.
---
bin/json_pp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cpan/JSON-PP/bin/json_pp b/cpan/JSON-PP/bin/json_pp
index 72b9db7..85dd348 100644
--- a/cpan/JSON-PP/bin/json_pp
+++ b/cpan/JSON-PP/bin/json_pp
@@ -2,7 +2,7 @@

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 ();
1 change: 1 addition & 0 deletions build/perl/patches/series
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
t_op_getppid.t.patch
dtrace.patch
getopt.patch
Loading