[SCM] Debian packaging of dh-make-perl branch, master, updated. debian/0.76-1-40-g447bbee

Damyan Ivanov dmn at debian.org
Tue May 21 19:46:34 UTC 2013


The following commit has been merged in the master branch:
commit 447bbee2a4f8585fa4790c870a5cf6719f40f17c
Author: Damyan Ivanov <dmn at debian.org>
Date:   Tue May 21 22:46:22 2013 +0300

    Dependency: assume '>=' relationship if missing when constructing from hash
    
    Closes: #704480 --  Use of uninitialized value in concatenation (.) or string at
    /usr/share/perl5/Debian/Dependency.pm line 157.
    
    Thanks to Robert Norris for his patience and his excellent analysis.

diff --git a/lib/Debian/Dependency.pm b/lib/Debian/Dependency.pm
index 11d2f95..c11b4a1 100644
--- a/lib/Debian/Dependency.pm
+++ b/lib/Debian/Dependency.pm
@@ -92,7 +92,7 @@ sub new {
 
     if( ref($_[0]) and ref($_[0]) eq 'HASH' ) {
         $pkg = delete $_[0]->{pkg};
-        $rel = delete $_[0]->{rel};
+        $rel = delete $_[0]->{rel} // '>=';
         $ver = delete $_[0]->{ver};
         # pass-through the rest
         while( my($k,$v) = each %{$_[0]} ) {

-- 
Debian packaging of dh-make-perl



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