Gentoo Archives: gentoo-commits

From: Conrad Kostecki <conikost@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-perl/DBI-Shell/files/
Date: Mon, 01 Nov 2021 17:56:02
Message-Id: 1635789341.567aa086e3883a199da4374a18f8c6596d7364a9.conikost@gentoo
1 commit: 567aa086e3883a199da4374a18f8c6596d7364a9
2 Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
3 AuthorDate: Mon Nov 1 16:21:39 2021 +0000
4 Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 1 17:55:41 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=567aa086
7
8 dev-perl/DBI-Shell: remove unused patch(es)
9
10 Closes: https://github.com/gentoo/gentoo/pull/22783
11 Package-Manager: Portage-3.0.28, Repoman-3.0.3
12 Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
13 Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
14
15 .../files/DBI-Shell-11.950.0-local-scalar.patch | 26 ---------------
16 .../files/DBI-Shell-11.950.0-nochrdir.patch | 26 ---------------
17 .../files/DBI-Shell-11.950.0-perl526.patch | 39 ----------------------
18 .../files/DBI-Shell-11.950.0-sprintf-warn.patch | 25 --------------
19 4 files changed, 116 deletions(-)
20
21 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
22 deleted file mode 100644
23 index 1d305f542d9..00000000000
24 --- a/dev-perl/DBI-Shell/files/DBI-Shell-11.950.0-local-scalar.patch
25 +++ /dev/null
26 @@ -1,26 +0,0 @@
27 -From ef8efc5b80c9395c01f23e5acd28bb3ee7810b54 Mon Sep 17 00:00:00 2001
28 -From: Kent Fredric <kentnl@g.o>
29 -Date: Sun, 8 Oct 2017 13:08:20 +1300
30 -Subject: Fix useless localization of scalar assignment
31 -
32 -Bug: https://rt.cpan.org/Ticket/Display.html?id=73873
33 ----
34 - lib/DBI/Format.pm | 2 +-
35 - 1 file changed, 1 insertion(+), 1 deletion(-)
36 -
37 -diff --git a/lib/DBI/Format.pm b/lib/DBI/Format.pm
38 -index 49cd7dd..bc985f9 100755
39 ---- a/lib/DBI/Format.pm
40 -+++ b/lib/DBI/Format.pm
41 -@@ -374,7 +374,7 @@ sub header {
42 -
43 - sub row {
44 - my($self, $rowref) = @_;
45 -- local( $^W = 0 );
46 -+ local ($^W) = 0;
47 - my @row = @$rowref;
48 - my $fh = $self->{'fh'};
49 - print $fh (join($self->{sep}, @row), "\n");
50 ---
51 -2.14.1
52 -
53
54 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
55 deleted file mode 100644
56 index b79649da4f5..00000000000
57 --- a/dev-perl/DBI-Shell/files/DBI-Shell-11.950.0-nochrdir.patch
58 +++ /dev/null
59 @@ -1,26 +0,0 @@
60 -From 9fb29d16514530245965b932040bb4fc37ffa9bf Mon Sep 17 00:00:00 2001
61 -From: Kent Fredric <kentnl@g.o>
62 -Date: Sun, 8 Oct 2017 13:11:29 +1300
63 -Subject: Fix no_chrdir warning
64 -
65 -Bug: https://rt.cpan.org/Ticket/Display.html?id=123215
66 ----
67 - lib/DBI/Shell/FindSqlFile.pm | 2 +-
68 - 1 file changed, 1 insertion(+), 1 deletion(-)
69 -
70 -diff --git a/lib/DBI/Shell/FindSqlFile.pm b/lib/DBI/Shell/FindSqlFile.pm
71 -index e604290..2b56ccc 100644
72 ---- a/lib/DBI/Shell/FindSqlFile.pm
73 -+++ b/lib/DBI/Shell/FindSqlFile.pm
74 -@@ -62,7 +62,7 @@ sub look_for_file {
75 - File::Find::find(
76 - {
77 - wanted => \&wanted
78 -- , no_chrdir => 1
79 -+ , no_chdir => 1
80 - , bydepth => 0
81 - },
82 - @search_path);
83 ---
84 -2.14.1
85 -
86
87 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
88 deleted file mode 100644
89 index cd8258480d7..00000000000
90 --- a/dev-perl/DBI-Shell/files/DBI-Shell-11.950.0-perl526.patch
91 +++ /dev/null
92 @@ -1,39 +0,0 @@
93 -From 792cf15cb387e58cec1ef3c6d538689d02ab44c3 Mon Sep 17 00:00:00 2001
94 -From: Kent Fredric <kentnl@g.o>
95 -Date: Sun, 8 Oct 2017 12:46:17 +1300
96 -Subject: Fix '.' removal from @INC in Perl 5.26
97 -
98 -Configuration files were always assumed to be explicit paths given
99 -by outsiders, not random entries in @INC
100 -
101 -Bug: https://bugs.gentoo.org/615592
102 -Bug: https://rt.cpan.org/Ticket/Display.html?id=121136
103 ----
104 - lib/DBI/Shell.pm | 4 +++-
105 - 1 file changed, 3 insertions(+), 1 deletion(-)
106 -
107 -diff --git a/lib/DBI/Shell.pm b/lib/DBI/Shell.pm
108 -index 03dd958..7869f0f 100755
109 ---- a/lib/DBI/Shell.pm
110 -+++ b/lib/DBI/Shell.pm
111 -@@ -133,6 +133,7 @@ use Text::Abbrev ();
112 - use Term::ReadLine;
113 - use Getopt::Long 2.17; # upgrade from CPAN if needed: http://www.perl.com/CPAN
114 - use IO::File;
115 -+use File::Spec ();
116 -
117 - use DBI 1.00 qw(:sql_types :utils);
118 - use DBI::Format;
119 -@@ -544,7 +545,8 @@ sub configuration {
120 - $sh->{config_file} = $ENV{DBISH_CONFIG} || "$homedir/.dbish_config";
121 - my $config;
122 - if ($sh->{config_file} && -f $sh->{config_file}) {
123 -- $config = require $sh->{config_file};
124 -+ my $full = File::Spec->rel2abs( $sh->{config_file} );
125 -+ $config = require $full;
126 - # allow for custom configuration options.
127 - if (exists $config->{'options'} ) {
128 - $sh->install_options( $config->{'options'} );
129 ---
130 -2.14.1
131 -
132
133 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
134 deleted file mode 100644
135 index 46943c1266b..00000000000
136 --- a/dev-perl/DBI-Shell/files/DBI-Shell-11.950.0-sprintf-warn.patch
137 +++ /dev/null
138 @@ -1,25 +0,0 @@
139 -From f44b8ba9d8cf954c76a967cbfb5d4182f109f8cf Mon Sep 17 00:00:00 2001
140 -From: Kent Fredric <kentnl@g.o>
141 -Date: Sun, 8 Oct 2017 13:30:36 +1300
142 -Subject: Silence warnings about reduntant sprintf args
143 -
144 -Bug: https://rt.cpan.org/Ticket/Display.html?id=123216
145 ----
146 - lib/DBI/Format/SQLMinus.pm | 1 +
147 - 1 file changed, 1 insertion(+)
148 -
149 -diff --git a/lib/DBI/Format/SQLMinus.pm b/lib/DBI/Format/SQLMinus.pm
150 -index c3a9ba2..7b240c9 100755
151 ---- a/lib/DBI/Format/SQLMinus.pm
152 -+++ b/lib/DBI/Format/SQLMinus.pm
153 -@@ -155,6 +155,7 @@ sub header {
154 -
155 - if ( exists $cf->{format} and defined $cf->{format} ) {
156 - $format_names = $cf->{format};
157 -+ no warnings 'redundant';
158 - $width = length sprintf( $format_names, " " );
159 - }
160 -
161 ---
162 -2.14.1
163 -