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... :-)
-- 
| Lucas Nussbaum
| [EMAIL PROTECTED]   http://www.lucas-nussbaum.net/ |
| jabber: [EMAIL PROTECTED]             GPG: 1024D/023B3F4F |

Attachment: signature.asc
Description: Digital signature

Reply via email to