[libpoe-component-client-mpd-perl] 01/05: Add patch from GitHub to handle newer Moose.
gregor herrmann
gregoa at debian.org
Thu Feb 13 21:09:18 UTC 2014
This is an automated email from the git hooks/post-receive script.
gregoa pushed a commit to branch master
in repository libpoe-component-client-mpd-perl.
commit 9ef27bfbe492128025262dcd105972d6c96fa48d
Author: gregor herrmann <gregoa at debian.org>
Date: Thu Feb 13 22:01:45 2014 +0100
Add patch from GitHub to handle newer Moose.
---
debian/patches/RT90686_Moose_enum_warnings.patch | 27 ++++++++++++++++++++++++
debian/patches/series | 1 +
2 files changed, 28 insertions(+)
diff --git a/debian/patches/RT90686_Moose_enum_warnings.patch b/debian/patches/RT90686_Moose_enum_warnings.patch
new file mode 100644
index 0000000..0ad5294
--- /dev/null
+++ b/debian/patches/RT90686_Moose_enum_warnings.patch
@@ -0,0 +1,27 @@
+Origin: https://github.com/zoffixznet/poe-component-client-mpd/commit/60ab61a820547972931d4de8ac3fa5b214a52056
+Bug: https://rt.cpan.org/Public/Bug/Display.html?id=90686
+Reviewed-by: gregor herrmann <gregoa at debian.org>
+Last-Update: 2014-02-13
+
+From 60ab61a820547972931d4de8ac3fa5b214a52056 Mon Sep 17 00:00:00 2001
+From: Zoffix Znet <cpan at zoffix.com>
+Date: Wed, 22 Jan 2014 18:14:17 -0500
+Subject: [PATCH] Fixes RT#90686 Moose enum warnings
+
+---
+ lib/POE/Component/Client/MPD/Types.pm | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+--- a/lib/POE/Component/Client/MPD/Types.pm
++++ b/lib/POE/Component/Client/MPD/Types.pm
+@@ -21,8 +21,8 @@
+ Cooking Transform
+ } ] };
+
+-enum Cooking => qw{ raw as_items as_kv strip_first };
+-enum Transform => qw{ as_scalar as_stats as_status };
++enum Cooking => [qw{ raw as_items as_kv strip_first }];
++enum Transform => [qw{ as_scalar as_stats as_status }];
+
+ 1;
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..1494584
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+RT90686_Moose_enum_warnings.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libpoe-component-client-mpd-perl.git
More information about the Pkg-perl-cvs-commits
mailing list