Control: tag -1 patch

On Wed, Aug 07, 2024 at 10:46:34PM +0300, Niko Tyni wrote:
> Package: st-console
> Version: 1.1.4-7
> Severity: important
> Tags: trixie sid
> User: debian-p...@lists.debian.org
> Usertags: perl-5.40-transition
> 
> This package fails its autopkgtest checks with Perl 5.40 (currently
> in experimental.)

>  32s autopkgtest [18:47:24]: test command1: st-console debian/tests/test.txt
>  32s autopkgtest [18:47:24]: test command1: [-----------------------
>  32s Duplicate specification "N|n|count" for option "n"

Trivial patch attached. I checked that this fixes the failure.
-- 
Niko Tyni   nt...@debian.org
From: Niko Tyni <nt...@debian.org>
Date: Sun, 25 Aug 2024 08:16:03 +0100
X-Dgit-Generated: 1.1.4-7 33e83970c8eb7e1736d663a0abe311589311293f
Subject: Configure Getopt::Long to not ignore case

Bug-Debian: https://bugs.debian.org/1078173

---

diff --git a/script/st b/script/st
index d785a18..8889dfd 100755
--- a/script/st
+++ b/script/st
@@ -6,7 +6,7 @@ use warnings;
 #use bignum;
 
 use Data::Dumper;
-use Getopt::Long;
+use Getopt::Long qw( :config no_ignore_case );
 use Pod::Usage;
 
 use App::St;

Reply via email to