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

intrigeri pushed a commit to branch master
in repository libmoox-options-perl.

commit 324cdfe809d5316ad4e25522da0c3a2090923912
Author: intrigeri <intrig...@boum.org>
Date:   Tue Jul 12 17:18:58 2016 +0000

    Fix-error-reporting-on-missing-required-arguments-wi.patch: new patch, for 
compatibility with libmoo-perl 2.002002 and newer (#829549).
---
 ...eporting-on-missing-required-arguments-wi.patch | 23 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 24 insertions(+)

diff --git 
a/debian/patches/Fix-error-reporting-on-missing-required-arguments-wi.patch 
b/debian/patches/Fix-error-reporting-on-missing-required-arguments-wi.patch
new file mode 100644
index 0000000..e59ae45
--- /dev/null
+++ b/debian/patches/Fix-error-reporting-on-missing-required-arguments-wi.patch
@@ -0,0 +1,23 @@
+From: intrigeri <intrig...@boum.org>
+Date: Tue, 12 Jul 2016 17:17:11 +0000
+Subject: Fix error reporting on missing required arguments with Moo 2.002002.
+Bug-Debian: https://bugs.debian.org/829549
+Bug-Upstream: https://github.com/celogeek/MooX-Options/issues/55
+Forwarded: https://github.com/celogeek/MooX-Options/pull/56
+---
+ lib/MooX/Options/Role.pm | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/lib/MooX/Options/Role.pm b/lib/MooX/Options/Role.pm
+index 7bec16a..fb894d2 100644
+--- a/lib/MooX/Options/Role.pm
++++ b/lib/MooX/Options/Role.pm
+@@ -258,7 +258,7 @@ sub new_with_options {
+     if ( $@ =~ /^Attribute\s\((.*?)\)\sis\srequired/x ) {
+         print STDERR "$1 is missing\n";
+     }
+-    elsif ( $@ =~ /^Missing\srequired\sarguments:\s(.*)\sat\s\(/x ) {
++    elsif ( $@ =~ /^Missing\srequired\sarguments:\s(.*)\sat\s/x ) {
+         my @missing_required = split /,\s/x, $1;
+         print STDERR
+             join( "\n", ( map { $_ . " is missing" } @missing_required ),
diff --git a/debian/patches/series b/debian/patches/series
index b7ba26e..631a601 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 2001_relax_getopt-long_dep.patch
+Fix-error-reporting-on-missing-required-arguments-wi.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/libmoox-options-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