aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-08-09 14:25:01 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-08-09 14:25:11 +0100
commitea45a49c9a9b232341f5720a8738ed9f37c57e10 (patch)
tree7853c6932b0bbd7b9055f545608aa5694fd7a6ff
parent4a899dc86a60c681346b00bc466cfb6919a65351 (diff)
downloadpaludis-ea45a49c9a9b232341f5720a8738ed9f37c57e10.tar.gz
paludis-ea45a49c9a9b232341f5720a8738ed9f37c57e10.tar.xz
Avoid horrible splattage
-rw-r--r--paludis/resolver/orderer.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/paludis/resolver/orderer.cc b/paludis/resolver/orderer.cc
index 1f4f845..34c97cd 100644
--- a/paludis/resolver/orderer.cc
+++ b/paludis/resolver/orderer.cc
@@ -328,6 +328,12 @@ namespace
void visit(const DependentReason & r)
{
+ /* we may be constrained by a dep from a package that was changed
+ * from a non error decision to an unable to make decision */
+ if (ignore_dependencies_from_resolvents.end() != ignore_dependencies_from_resolvents.find(
+ r.id_and_resolvent_being_removed().resolvent()))
+ return;
+
NAGIndex from(make_named_values<NAGIndex>(
n::resolvent() = r.id_and_resolvent_being_removed().resolvent(),
n::role() = nir_done