aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-04-17 23:16:17 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-04-17 23:16:17 +0000
commit16ab67dde581aea8d6319a66d45fe473a52b2f82 (patch)
tree2416318fe18b42449211694be0362f9c27d313e6
parentbe61cc8a1a35615f84dac133fe14cb7524ddde36 (diff)
downloadpaludis-16ab67dde581aea8d6319a66d45fe473a52b2f82.tar.gz
paludis-16ab67dde581aea8d6319a66d45fe473a52b2f82.tar.xz
Fix SLOT being set to an empty string for some non-default virtual providers
-rw-r--r--paludis/portage_repository.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/paludis/portage_repository.cc b/paludis/portage_repository.cc
index 817f0ed..cd165e0 100644
--- a/paludis/portage_repository.cc
+++ b/paludis/portage_repository.cc
@@ -1081,6 +1081,7 @@ PortageRepository::do_install(const QualifiedPackageName & q, const VersionSpec
if (q.get<qpn_category>() == CategoryNamePart("virtual"))
{
VersionMetadata::Pointer m(new VersionMetadata);
+ m->set(vmk_slot, "0");
m->set(vmk_virtual, " ");
metadata = m;
}