aboutsummaryrefslogtreecommitdiff
path: root/paludis/repositories/unavailable/unavailable_package_id.cc
diff options
context:
space:
mode:
authorAvatar Dimitry Ishenko <dimitry.ishenko@gmail.com> 2012-11-14 13:08:20 -0500
committerAvatar David Leverton <levertond@googlemail.com> 2012-11-14 19:21:58 +0000
commit7990944d141ad88cb6d73a3511d0a164477482a3 (patch)
treeb771b24cdf33d23386c516b3f3d656e3669e849a /paludis/repositories/unavailable/unavailable_package_id.cc
parent700427e4cfbb9ed6758202f1d71e5f171e75107b (diff)
downloadpaludis-7990944d141ad88cb6d73a3511d0a164477482a3.tar.gz
paludis-7990944d141ad88cb6d73a3511d0a164477482a3.tar.xz
Properly handle subslots in ::unavailable
Diffstat (limited to 'paludis/repositories/unavailable/unavailable_package_id.cc')
-rw-r--r--paludis/repositories/unavailable/unavailable_package_id.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/paludis/repositories/unavailable/unavailable_package_id.cc b/paludis/repositories/unavailable/unavailable_package_id.cc
index a7e6e4320..0108f230a 100644
--- a/paludis/repositories/unavailable/unavailable_package_id.cc
+++ b/paludis/repositories/unavailable/unavailable_package_id.cc
@@ -64,10 +64,7 @@ namespace paludis
name(e.name()),
version(e.version()),
repository_name(e.repository()),
- slot_key(std::make_shared<LiteralMetadataValueKey<Slot> >("SLOT", "Slot", mkt_internal, make_named_values<Slot>(
- n::match_values() = std::make_pair(e.slot(), e.slot()),
- n::parallel_value() = e.slot(),
- n::raw_value() = stringify(e.slot())))),
+ slot_key(std::make_shared<LiteralMetadataValueKey<Slot> >("SLOT", "Slot", mkt_internal, e.slot())),
description_key(e.description()),
repository_homepage_key(e.repository_homepage()),
repository_description_key(e.repository_description()),