aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/unpackaged/installed_id.cc
diff options
context:
space:
mode:
Diffstat (limited to 'paludis/repositories/unpackaged/installed_id.cc')
-rw-r--r--paludis/repositories/unpackaged/installed_id.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/paludis/repositories/unpackaged/installed_id.cc b/paludis/repositories/unpackaged/installed_id.cc
index b9e1318..311a96a 100644
--- a/paludis/repositories/unpackaged/installed_id.cc
+++ b/paludis/repositories/unpackaged/installed_id.cc
@@ -511,6 +511,10 @@ InstalledUnpackagedID::canonical_form(const PackageIDCanonicalForm f) const
return stringify(_imp->name) + ":" + stringify(slot_key()->value()) + "::" +
stringify(_imp->repository_name);
+ case idcf_no_name:
+ return stringify(_imp->version) + ":" +
+ stringify(slot_key()->value()) + "::" + stringify(_imp->repository_name);
+
case last_idcf:
break;
}