aboutsummaryrefslogtreecommitdiff
path: root/libq
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2022-05-26 11:30:28 +0200
committerFabian Groffen <grobian@gentoo.org>2022-05-26 11:30:28 +0200
commit84804b1dfcf6e5f3b7a7cca2212c8b2d5a7e4f4b (patch)
treeda142d8c3502386cea31338e1702e5152d54db6f /libq
parentlibq/dep: add dep_resolve_tree function (diff)
downloadportage-utils-84804b1dfcf6e5f3b7a7cca2212c8b2d5a7e4f4b.tar.gz
portage-utils-84804b1dfcf6e5f3b7a7cca2212c8b2d5a7e4f4b.tar.bz2
portage-utils-84804b1dfcf6e5f3b7a7cca2212c8b2d5a7e4f4b.zip
libq/dep: allow resolving multiple times (e.g. for overlays)
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Diffstat (limited to 'libq')
-rw-r--r--libq/dep.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libq/dep.c b/libq/dep.c
index 4138a1c..389e506 100644
--- a/libq/dep.c
+++ b/libq/dep.c
@@ -355,7 +355,7 @@ void
dep_resolve_tree(dep_node *root, tree_ctx *t)
{
if (root->type != DEP_NULL) {
- if (root->type == DEP_NORM && root->atom) {
+ if (root->type == DEP_NORM && root->atom && !root->atom_resolved) {
depend_atom *d = root->atom;
tree_match_ctx *r = tree_match_atom(t, d,
TREE_MATCH_DEFAULT |