The following commit has been merged in the sourcev3 branch:
commit 9c8bf5cb2a8590964d284e1ee91a8fed6fdad7ca
Author: Raphael Hertzog <[EMAIL PROTECTED]>
Date:   Thu Mar 20 15:16:51 2008 +0100

    Dpkg::Source::Patch: change an error into a warning
    
    * scripts/Dpkg/Source/Patch.pm (analyze): An empty patch
    is still valid, instead of failing simply generate a warning.
    21 packages in the archive have an empty .diff.gz and
    they can't be extracted without this fix.

diff --git a/scripts/Dpkg/Source/Patch.pm b/scripts/Dpkg/Source/Patch.pm
index 33bd559..f3d0e84 100644
--- a/scripts/Dpkg/Source/Patch.pm
+++ b/scripts/Dpkg/Source/Patch.pm
@@ -369,7 +369,7 @@ sub analyze {
     }
     close($diff_handle);
     unless ($diff_count) {
-       error(_g("diff `%s' doesn't contain any patch"), $diff);
+       warning(_g("diff `%s' doesn't contain any patch"), $diff);
     }
     $self->cleanup_after_open();
     $self->{'analysis'}{$destdir}{"dirtocreate"} = \%dirtocreate;

-- 
dpkg's main repository


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to