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

fsfs pushed a commit to branch master
in repository libpoe-component-jabber-perl.

commit 194f6a3c963cedcdd5f922a99f51899deca808be
Author: Florian Schlichting <f...@debian.org>
Date:   Thu Jul 9 20:39:18 2015 +0200

    Add given_is_experimental.patch to fix smartmatch warnings on recent Perls 
(closes: #791499)
---
 debian/patches/given_is_experimental.patch | 56 ++++++++++++++++++++++++++++++
 debian/patches/series                      |  1 +
 2 files changed, 57 insertions(+)

diff --git a/debian/patches/given_is_experimental.patch 
b/debian/patches/given_is_experimental.patch
new file mode 100644
index 0000000..30f1fbe
--- /dev/null
+++ b/debian/patches/given_is_experimental.patch
@@ -0,0 +1,56 @@
+Description: silence "given / when is experimental" warnings
+ necessarily ugly to make it compatible with older perls, see
+ 
http://blogs.perl.org/users/mike_b/2013/06/a-little-nicer-way-to-use-smartmatch-on-perl-518.html
+Author: Florian Schlichting <f...@debian.org>
+Forwarded: https://rt.cpan.org/Ticket/Display.html?id=105779
+
+--- a/lib/POE/Component/Jabber.pm
++++ b/lib/POE/Component/Jabber.pm
+@@ -3,6 +3,7 @@
+ use strict;
+ 
+ use 5.010;
++no if $] >= 5.017011, warnings => 'experimental::smartmatch';
+ use POE;
+ use POE::Wheel::ReadWrite;
+ use POE::Wheel::SocketFactory;
+--- a/lib/POE/Component/Jabber/J14.pm
++++ b/lib/POE/Component/Jabber/J14.pm
+@@ -3,6 +3,7 @@
+ use strict;
+ 
+ use 5.010;
++no if $] >= 5.017011, warnings => 'experimental::smartmatch';
+ use POE;
+ use POE::Component::Jabber::Events;
+ use POE::Filter::XML;
+--- a/lib/POE/Component/Jabber/J2.pm
++++ b/lib/POE/Component/Jabber/J2.pm
+@@ -3,6 +3,7 @@
+ use strict;
+ 
+ use 5.010;
++no if $] >= 5.017011, warnings => 'experimental::smartmatch';
+ use POE qw/ Wheel::ReadWrite /;
+ use POE::Component::SSLify qw/ Client_SSLify /;
+ use POE::Component::Jabber::Events;
+--- a/lib/POE/Component/Jabber/Legacy.pm
++++ b/lib/POE/Component/Jabber/Legacy.pm
+@@ -3,6 +3,7 @@
+ use strict;
+ 
+ use 5.010;
++no if $] >= 5.017011, warnings => 'experimental::smartmatch';
+ use POE;
+ use POE::Component::Jabber::Events;
+ use POE::Filter::XML;
+--- a/lib/POE/Component/Jabber/XMPP.pm
++++ b/lib/POE/Component/Jabber/XMPP.pm
+@@ -3,6 +3,7 @@
+ use strict;
+ 
+ use 5.010;
++no if $] >= 5.017011, warnings => 'experimental::smartmatch';
+ use POE qw/ Wheel::ReadWrite /;
+ use POE::Component::SSLify qw/ Client_SSLify /;
+ use POE::Component::Jabber::Events;
diff --git a/debian/patches/series b/debian/patches/series
index b98a8e6..a474fff 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 fix-pod-docs-for-names.patch
 
+given_is_experimental.patch
 use-Digest-SHA.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libpoe-component-jabber-perl.git

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to