aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/cran/cran_installed_repository.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/repositories/cran/cran_installed_repository.cc')
-rw-r--r--paludis/repositories/cran/cran_installed_repository.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/paludis/repositories/cran/cran_installed_repository.cc b/paludis/repositories/cran/cran_installed_repository.cc
index 164f6c077..f2ce026b3 100644
--- a/paludis/repositories/cran/cran_installed_repository.cc
+++ b/paludis/repositories/cran/cran_installed_repository.cc
@@ -555,7 +555,8 @@ CRANInstalledRepository::do_package_set(const SetName & s) const
for (std::vector<CRANDescription>::const_iterator p(_imp->entries.begin()),
p_end(_imp->entries.end()) ; p != p_end ; ++p)
{
- std::tr1::shared_ptr<PackageDepSpec> spec(new PackageDepSpec(p->name));
+ std::tr1::shared_ptr<PackageDepSpec> spec(new PackageDepSpec(std::tr1::shared_ptr<QualifiedPackageName>(
+ new QualifiedPackageName(p->name))));
result->add_child(spec);
}
@@ -586,7 +587,7 @@ CRANInstalledRepository::do_package_set(const SetName & s) const
}
else
{
- std::tr1::shared_ptr<PackageDepSpec> spec(new PackageDepSpec(QualifiedPackageName(*line)));
+ std::tr1::shared_ptr<PackageDepSpec> spec(new PackageDepSpec(*line, pds_pm_unspecific));
result->add_child(spec);
}
}