aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/fake/fake_package_id.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/repositories/fake/fake_package_id.cc')
-rw-r--r--paludis/repositories/fake/fake_package_id.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/paludis/repositories/fake/fake_package_id.cc b/paludis/repositories/fake/fake_package_id.cc
index 6156deb..425ed67 100644
--- a/paludis/repositories/fake/fake_package_id.cc
+++ b/paludis/repositories/fake/fake_package_id.cc
@@ -777,6 +777,10 @@ FakePackageID::canonical_form(const PackageIDCanonicalForm f) const
case idcf_no_version:
return stringify(_imp->name) + ":" + stringify(_imp->slot->value()) + "::" + stringify(_imp->repository->name());
+ case idcf_no_name:
+ return stringify(_imp->version) + ":" + stringify(_imp->slot->value())
+ + "::" + stringify(_imp->repository->name());
+
case last_idcf:
break;
}