]> git.deb.at Git - deb/packages.git/commitdiff
Fix linking to pure virtual packages in dep_list. Linking is not
authorFrank Lichtenheld <frank@lichtenheld.de>
Fri, 3 Mar 2006 03:23:44 +0000 (03:23 +0000)
committerFrank Lichtenheld <frank@lichtenheld.de>
Fri, 3 Mar 2006 03:23:44 +0000 (03:23 +0000)
correctly in all cases, though

lib/Packages/HTML.pm

index dca294ec72533f403915acaf4707c6a6bc71a1c8..6a6baf6c9e4055241d577ae97b97801cf5cce21b 100644 (file)
@@ -308,7 +308,9 @@ sub print_deps {
                } elsif (defined $entry->[0]) {
                    $short_desc = provides_string( $p_suite,
                                                   $entry->[0] );
-                   push @res_pkgs, dep_item( $p_suite,
+                   #FIXME: we don't handle virtual packages from
+                   # the fallback suite correctly here
+                   push @res_pkgs, dep_item( $suite,
                                              $p_name, "$pkg_version$arch_str", $short_desc );
                }
            } elsif ( $is_old_pkgs ) {