aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-08-18 20:31:02 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-08-18 20:31:02 +0000
commit886afb9f0d6247b82ec964c69be826d337037fbb (patch)
tree27b0c4fade9aa09d6c880fddc731a3094a9e427b
parent09bec8615b4869444d5d0fb103454f93d23aa556 (diff)
downloadpaludis-886afb9f0d6247b82ec964c69be826d337037fbb.tar.gz
paludis-886afb9f0d6247b82ec964c69be826d337037fbb.tar.xz
Generate virtuals metadata as VersionMetadata::Virtual rather than VersionMetadata
-rw-r--r--paludis/repositories/vdb/vdb_repository.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/paludis/repositories/vdb/vdb_repository.cc b/paludis/repositories/vdb/vdb_repository.cc
index 1e75194..7897b98 100644
--- a/paludis/repositories/vdb/vdb_repository.cc
+++ b/paludis/repositories/vdb/vdb_repository.cc
@@ -1096,7 +1096,9 @@ VersionMetadata::ConstPointer
VDBRepository::provided_package_version_metadata(const RepositoryProvidesEntry & p) const
{
VersionMetadata::ConstPointer m(version_metadata(p.provided_by_name, p.version));
- VersionMetadata::Pointer result(new VersionMetadata(PortageDepParser::parse_depend));
+ VersionMetadata::Virtual::Pointer result(new VersionMetadata::Virtual(
+ PortageDepParser::parse_depend, PackageDatabaseEntry(p.provided_by_name,
+ p.version, name())));
result->slot = m->slot;
result->license_string = m->license_string;