summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-perl/DBI-Shell/files/DBI-Shell-11.96-sprintf-warn.patch')
-rw-r--r--dev-perl/DBI-Shell/files/DBI-Shell-11.96-sprintf-warn.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/dev-perl/DBI-Shell/files/DBI-Shell-11.96-sprintf-warn.patch b/dev-perl/DBI-Shell/files/DBI-Shell-11.96-sprintf-warn.patch
new file mode 100644
index 000000000000..930b22026d45
--- /dev/null
+++ b/dev-perl/DBI-Shell/files/DBI-Shell-11.96-sprintf-warn.patch
@@ -0,0 +1,25 @@
+From e04b6dc11fa15b4ab6da3fb1e826def507d9f0b5 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 ce1d096..c7948a8 100644
+--- a/lib/DBI/Format/SQLMinus.pm
++++ b/lib/DBI/Format/SQLMinus.pm
+@@ -151,6 +151,7 @@ sub header {
+
+ if ( exists $cf->{format} and defined $cf->{format} ) {
+ $format_names = $cf->{format};
++ no warnings 'redundant';
+ $width = length sprintf( $format_names, " " );
+ }
+
+--
+2.27.0
+