[SCM] Debian packaging of libconfig-model-tkui-perl branch, master, updated. debian/1.327-1-4-g8b8e14e

Dominique Dumont dod at debian.org
Fri Sep 23 14:44:43 UTC 2011


The following commit has been merged in the master branch:
commit 8b8e14e67a3eaaac68585ec37b5767313c51733d
Author: Dominique Dumont <dod at debian.org>
Date:   Fri Sep 23 16:43:56 2011 +0200

    patch a harmless warning

diff --git a/debian/patches/fix_warning b/debian/patches/fix_warning
new file mode 100644
index 0000000..eada4a0
--- /dev/null
+++ b/debian/patches/fix_warning
@@ -0,0 +1,11 @@
+--- a/lib/Config/Model/Tk/AnyViewer.pm
++++ b/lib/Config/Model/Tk/AnyViewer.pm
+@@ -197,7 +197,7 @@
+     ) ->pack(-anchor => 'w', -side => 'left', -fill =>'x');
+ 
+     if ($usage eq 'edit') {
+-        my $nb_fixes = $elt_obj->has_fixes ;
++        my $nb_fixes = $elt_obj->has_fixes || 0;
+ 
+         my $fix_widget = $label_button_frame -> Button(
+             -text => "Apply $nb_fixes fixes",
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..cfefa72
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix_warning

-- 
Debian packaging of libconfig-model-tkui-perl



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