From 567aa086e3883a199da4374a18f8c6596d7364a9 Mon Sep 17 00:00:00 2001 From: Michael Mair-Keimberger Date: Mon, 1 Nov 2021 17:21:39 +0100 Subject: dev-perl/DBI-Shell: remove unused patch(es) Closes: https://github.com/gentoo/gentoo/pull/22783 Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Michael Mair-Keimberger Signed-off-by: Conrad Kostecki --- .../files/DBI-Shell-11.950.0-local-scalar.patch | 26 --------------- .../files/DBI-Shell-11.950.0-nochrdir.patch | 26 --------------- .../files/DBI-Shell-11.950.0-perl526.patch | 39 ---------------------- .../files/DBI-Shell-11.950.0-sprintf-warn.patch | 25 -------------- 4 files changed, 116 deletions(-) delete mode 100644 dev-perl/DBI-Shell/files/DBI-Shell-11.950.0-local-scalar.patch delete mode 100644 dev-perl/DBI-Shell/files/DBI-Shell-11.950.0-nochrdir.patch delete mode 100644 dev-perl/DBI-Shell/files/DBI-Shell-11.950.0-perl526.patch delete mode 100644 dev-perl/DBI-Shell/files/DBI-Shell-11.950.0-sprintf-warn.patch diff --git a/dev-perl/DBI-Shell/files/DBI-Shell-11.950.0-local-scalar.patch b/dev-perl/DBI-Shell/files/DBI-Shell-11.950.0-local-scalar.patch deleted file mode 100644 index 1d305f542d9e..000000000000 --- a/dev-perl/DBI-Shell/files/DBI-Shell-11.950.0-local-scalar.patch +++ /dev/null @@ -1,26 +0,0 @@ -From ef8efc5b80c9395c01f23e5acd28bb3ee7810b54 Mon Sep 17 00:00:00 2001 -From: Kent Fredric -Date: Sun, 8 Oct 2017 13:08:20 +1300 -Subject: Fix useless localization of scalar assignment - -Bug: https://rt.cpan.org/Ticket/Display.html?id=73873 ---- - lib/DBI/Format.pm | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/lib/DBI/Format.pm b/lib/DBI/Format.pm -index 49cd7dd..bc985f9 100755 ---- a/lib/DBI/Format.pm -+++ b/lib/DBI/Format.pm -@@ -374,7 +374,7 @@ sub header { - - sub row { - my($self, $rowref) = @_; -- local( $^W = 0 ); -+ local ($^W) = 0; - my @row = @$rowref; - my $fh = $self->{'fh'}; - print $fh (join($self->{sep}, @row), "\n"); --- -2.14.1 - diff --git a/dev-perl/DBI-Shell/files/DBI-Shell-11.950.0-nochrdir.patch b/dev-perl/DBI-Shell/files/DBI-Shell-11.950.0-nochrdir.patch deleted file mode 100644 index b79649da4f5c..000000000000 --- a/dev-perl/DBI-Shell/files/DBI-Shell-11.950.0-nochrdir.patch +++ /dev/null @@ -1,26 +0,0 @@ -From 9fb29d16514530245965b932040bb4fc37ffa9bf Mon Sep 17 00:00:00 2001 -From: Kent Fredric -Date: Sun, 8 Oct 2017 13:11:29 +1300 -Subject: Fix no_chrdir warning - -Bug: https://rt.cpan.org/Ticket/Display.html?id=123215 ---- - lib/DBI/Shell/FindSqlFile.pm | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/lib/DBI/Shell/FindSqlFile.pm b/lib/DBI/Shell/FindSqlFile.pm -index e604290..2b56ccc 100644 ---- a/lib/DBI/Shell/FindSqlFile.pm -+++ b/lib/DBI/Shell/FindSqlFile.pm -@@ -62,7 +62,7 @@ sub look_for_file { - File::Find::find( - { - wanted => \&wanted -- , no_chrdir => 1 -+ , no_chdir => 1 - , bydepth => 0 - }, - @search_path); --- -2.14.1 - diff --git a/dev-perl/DBI-Shell/files/DBI-Shell-11.950.0-perl526.patch b/dev-perl/DBI-Shell/files/DBI-Shell-11.950.0-perl526.patch deleted file mode 100644 index cd8258480d70..000000000000 --- a/dev-perl/DBI-Shell/files/DBI-Shell-11.950.0-perl526.patch +++ /dev/null @@ -1,39 +0,0 @@ -From 792cf15cb387e58cec1ef3c6d538689d02ab44c3 Mon Sep 17 00:00:00 2001 -From: Kent Fredric -Date: Sun, 8 Oct 2017 12:46:17 +1300 -Subject: Fix '.' removal from @INC in Perl 5.26 - -Configuration files were always assumed to be explicit paths given -by outsiders, not random entries in @INC - -Bug: https://bugs.gentoo.org/615592 -Bug: https://rt.cpan.org/Ticket/Display.html?id=121136 ---- - lib/DBI/Shell.pm | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -diff --git a/lib/DBI/Shell.pm b/lib/DBI/Shell.pm -index 03dd958..7869f0f 100755 ---- a/lib/DBI/Shell.pm -+++ b/lib/DBI/Shell.pm -@@ -133,6 +133,7 @@ use Text::Abbrev (); - use Term::ReadLine; - use Getopt::Long 2.17; # upgrade from CPAN if needed: http://www.perl.com/CPAN - use IO::File; -+use File::Spec (); - - use DBI 1.00 qw(:sql_types :utils); - use DBI::Format; -@@ -544,7 +545,8 @@ sub configuration { - $sh->{config_file} = $ENV{DBISH_CONFIG} || "$homedir/.dbish_config"; - my $config; - if ($sh->{config_file} && -f $sh->{config_file}) { -- $config = require $sh->{config_file}; -+ my $full = File::Spec->rel2abs( $sh->{config_file} ); -+ $config = require $full; - # allow for custom configuration options. - if (exists $config->{'options'} ) { - $sh->install_options( $config->{'options'} ); --- -2.14.1 - diff --git a/dev-perl/DBI-Shell/files/DBI-Shell-11.950.0-sprintf-warn.patch b/dev-perl/DBI-Shell/files/DBI-Shell-11.950.0-sprintf-warn.patch deleted file mode 100644 index 46943c1266ba..000000000000 --- a/dev-perl/DBI-Shell/files/DBI-Shell-11.950.0-sprintf-warn.patch +++ /dev/null @@ -1,25 +0,0 @@ -From f44b8ba9d8cf954c76a967cbfb5d4182f109f8cf Mon Sep 17 00:00:00 2001 -From: Kent Fredric -Date: Sun, 8 Oct 2017 13:30:36 +1300 -Subject: Silence warnings about reduntant sprintf args - -Bug: https://rt.cpan.org/Ticket/Display.html?id=123216 ---- - lib/DBI/Format/SQLMinus.pm | 1 + - 1 file changed, 1 insertion(+) - -diff --git a/lib/DBI/Format/SQLMinus.pm b/lib/DBI/Format/SQLMinus.pm -index c3a9ba2..7b240c9 100755 ---- a/lib/DBI/Format/SQLMinus.pm -+++ b/lib/DBI/Format/SQLMinus.pm -@@ -155,6 +155,7 @@ sub header { - - if ( exists $cf->{format} and defined $cf->{format} ) { - $format_names = $cf->{format}; -+ no warnings 'redundant'; - $width = length sprintf( $format_names, " " ); - } - --- -2.14.1 - -- cgit v1.2.3-18-g5258