[libconfig-model-perl] 03/03: added fix-node patch

dod at debian.org dod at debian.org
Thu Dec 19 17:36:45 UTC 2013


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

dod pushed a commit to branch fix-dh-cm
in repository libconfig-model-perl.

commit 508f3121972f3f56b998e6a50db38f31d6dab133
Author: Dominique Dumont <dod at debian.org>
Date:   Sat Nov 23 10:41:26 2013 +0100

    added fix-node patch
---
 debian/patches/fix-node | 11 +++++++++++
 debian/patches/series   |  1 +
 2 files changed, 12 insertions(+)

diff --git a/debian/patches/fix-node b/debian/patches/fix-node
new file mode 100644
index 0000000..3b552e6
--- /dev/null
+++ b/debian/patches/fix-node
@@ -0,0 +1,11 @@
+--- a/lib/Config/Model/Node.pm
++++ b/lib/Config/Model/Node.pm
+@@ -144,7 +144,7 @@
+ 
+     my $element_info = $self->{model}{element}{$element_name}  ;
+ 
+-    return if $check eq 'skip' and not defined $element_info;
++    return if $check =~ /skip|no/ and not defined $element_info;
+      
+     Config::Model::Exception::UnknownElement->throw(
+                                                     object   => $self,
diff --git a/debian/patches/series b/debian/patches/series
index 3e02045..b26cf87 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
+fix-node
 remove-call-to-env
 add_dh_config

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



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