[libmoosex-app-perl] 01/03: Add patch to silence experimental::smartmatch warnings (again).

gregor herrmann gregoa at debian.org
Sat Mar 1 21:34:02 UTC 2014


This is an automated email from the git hooks/post-receive script.

gregoa pushed a commit to branch master
in repository libmoosex-app-perl.

commit d1a7063be8008a6e6e8365d5e04c71df2fb202cb
Author: gregor herrmann <gregoa at debian.org>
Date:   Sat Mar 1 22:28:50 2014 +0100

    Add patch to silence experimental::smartmatch warnings (again).
---
 debian/patches/experimental-smartmatch.patch | 25 +++++++++++++++++++++++++
 debian/patches/series                        |  1 +
 2 files changed, 26 insertions(+)

diff --git a/debian/patches/experimental-smartmatch.patch b/debian/patches/experimental-smartmatch.patch
new file mode 100644
index 0000000..df44b66
--- /dev/null
+++ b/debian/patches/experimental-smartmatch.patch
@@ -0,0 +1,25 @@
+Description: turning off the warnings needs to happen later ...
+Origin: vendor
+Bug: https://rt.cpan.org/Public/Bug/Display.html?id=85429
+Forwarded: https://rt.cpan.org/Public/Bug/Display.html?id=85429
+Author: gregor herrmann <gregoa at debian.org>
+Last-Update: 2014-03-01
+
+--- a/lib/MooseX/App/Utils.pm
++++ b/lib/MooseX/App/Utils.pm
+@@ -4,7 +4,6 @@
+ use utf8;
+ use strict;
+ use warnings;
+-no if $] >= 5.018000, warnings => qw/ experimental::smartmatch /;
+ 
+ use List::Util qw(max);
+ 
+@@ -12,6 +11,7 @@
+ our $INDENT = 4;
+ 
+ use Moose::Util::TypeConstraints;
++no if $] >= 5.018000, warnings => qw/ experimental::smartmatch /;
+ 
+ subtype 'MooseX::App::Types::List' 
+     => as 'ArrayRef';
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..a7fd6b6
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+experimental-smartmatch.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libmoosex-app-perl.git



More information about the Pkg-perl-cvs-commits mailing list