commit:     84804b1dfcf6e5f3b7a7cca2212c8b2d5a7e4f4b
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Thu May 26 09:30:28 2022 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Thu May 26 09:30:28 2022 +0000
URL:        https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=84804b1d

libq/dep: allow resolving multiple times (e.g. for overlays)

Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 libq/dep.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 |

Reply via email to