Lucas Nussbaum <[EMAIL PROTECTED]> writes:

> On 16/08/08 at 13:18 +0100, Roger Leigh wrote:
>> Patch modified to use a string comparison:
>> 
>> diff --git a/lib/Sbuild/Build.pm b/lib/Sbuild/Build.pm
>> index 64127bf..d1b1367 100644
>> --- a/lib/Sbuild/Build.pm
>> +++ b/lib/Sbuild/Build.pm
>> @@ -1310,7 +1310,7 @@ sub check_dependencies (\$\@) {
>>              if (!$dep->{'Rel'}) {
>>                  $fail .= "$name(still installed) ";
>>              }
>> -            elsif ($stat->{'Version'} == '~*=PROVIDED=*=') {
>> +            elsif ($stat->{'Version'} eq '~*=PROVIDED=*=') {
>>                  # It's a versioned build-conflict, but we installed
>>                  # a package that provides the conflicted package. It's ok.
>
> One day I will learn perl... :-)

He he!  Hopefully I'll get to the point where it's sufficiently
refactored we can switch to a saner language post-Lenny!  It's now
mostly there!  The dependency code is the next big task on the TODO
list in my head.


-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.

Attachment: pgpeceU7l5ay3.pgp
Description: PGP signature

Reply via email to