aboutsummaryrefslogtreecommitdiff
path: root/src/clients/adjutrix
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-05-19 21:09:05 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2009-05-19 21:09:05 +0100
commitc1a470d25af8d37269144b3a5df228962919790f (patch)
tree5bc9eccca4914e08da4e55703a2a095cb61e4a34 /src/clients/adjutrix
parent8fb5cc6bfdd43b59a3220ff11bfe9a45b46896cd (diff)
downloadpaludis-c1a470d25af8d37269144b3a5df228962919790f.tar.gz
paludis-c1a470d25af8d37269144b3a5df228962919790f.tar.xz
Preserve whether we hate non-ranged deps
Diffstat (limited to 'src/clients/adjutrix')
-rw-r--r--src/clients/adjutrix/downgrade_check.cc2
-rw-r--r--src/clients/adjutrix/keywords_graph.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/clients/adjutrix/downgrade_check.cc b/src/clients/adjutrix/downgrade_check.cc
index b8f668d7e..cee22c598 100644
--- a/src/clients/adjutrix/downgrade_check.cc
+++ b/src/clients/adjutrix/downgrade_check.cc
@@ -146,7 +146,7 @@ namespace
a(after.find(b->first));
if (after.end() == a)
{
- PartiallyMadePackageDepSpec part_spec;
+ PartiallyMadePackageDepSpec part_spec((PartiallyMadePackageDepSpecOptions()));
part_spec.package(b->first.first);
if ("(none)" != b->first.second)
part_spec.slot_requirement(make_shared_ptr(new UserSlotExactRequirement(SlotName(b->first.second))));
diff --git a/src/clients/adjutrix/keywords_graph.cc b/src/clients/adjutrix/keywords_graph.cc
index 7a5ed9064..8d99a7e78 100644
--- a/src/clients/adjutrix/keywords_graph.cc
+++ b/src/clients/adjutrix/keywords_graph.cc
@@ -84,7 +84,7 @@ namespace
FindUnusedPackagesTask task(&e, &repo);
std::tr1::shared_ptr<const PackageIDSequence> packages(e[selection::AllVersionsGroupedBySlot(
generator::InRepository(repo.name()) &
- generator::Matches(make_package_dep_spec().package(package), MatchPackageOptions()))]);
+ generator::Matches(make_package_dep_spec(PartiallyMadePackageDepSpecOptions()).package(package), MatchPackageOptions()))]);
std::tr1::shared_ptr<const PackageIDSequence> unused(task.execute(package));
if (packages->empty())