diff options
author | Kent Fredric <kentnl@gentoo.org> | 2017-10-08 14:07:53 +1300 |
---|---|---|
committer | Kent Fredric <kentnl@gentoo.org> | 2017-10-08 14:07:53 +1300 |
commit | e7678976ce60ae2df59609398f6010f55f637a4b (patch) | |
tree | 46e248e264cb5f19692cc45723884bac511b0ee2 /dev-perl/DBI-Shell/files/DBI-Shell-11.950.0-sprintf-warn.patch | |
parent | dev-perl/Devel-SmallProf: Fix perl 5.26 support re bug #615590 (diff) | |
download | gentoo-e7678976ce60ae2df59609398f6010f55f637a4b.tar.gz gentoo-e7678976ce60ae2df59609398f6010f55f637a4b.tar.bz2 gentoo-e7678976ce60ae2df59609398f6010f55f637a4b.zip |
dev-perl/DBI-Shell: Fix '.' in @INC w/ rbump bug #615592
- EAPI6
- Fix (runtime) '.' in @INC issue
- fix no_chrdir issue with newer File::Find
- fix localisation of $^W ( started warning in 5.10 )
- silenct warning about excess sprintf
Bug: https://bugs.gentoo.org/615592
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'dev-perl/DBI-Shell/files/DBI-Shell-11.950.0-sprintf-warn.patch')
-rw-r--r-- | dev-perl/DBI-Shell/files/DBI-Shell-11.950.0-sprintf-warn.patch | 25 |
1 files changed, 25 insertions, 0 deletions
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 new file mode 100644 index 000000000000..46943c1266ba --- /dev/null +++ b/dev-perl/DBI-Shell/files/DBI-Shell-11.950.0-sprintf-warn.patch @@ -0,0 +1,25 @@ +From f44b8ba9d8cf954c76a967cbfb5d4182f109f8cf Mon Sep 17 00:00:00 2001 +From: Kent Fredric <kentnl@gentoo.org> +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 + |