From: Frank Lichtenheld Date: Fri, 3 Mar 2006 03:23:44 +0000 (+0000) Subject: Fix linking to pure virtual packages in dep_list. Linking is not X-Git-Tag: switch-to-templates~14 X-Git-Url: https://git.deb.at/w?a=commitdiff_plain;h=4452916120a65632430780fd0eb16f63811517b9;p=deb%2Fpackages.git Fix linking to pure virtual packages in dep_list. Linking is not correctly in all cases, though --- diff --git a/lib/Packages/HTML.pm b/lib/Packages/HTML.pm index dca294e..6a6baf6 100644 --- a/lib/Packages/HTML.pm +++ b/lib/Packages/HTML.pm @@ -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 ) {