proj/portage-utils:master commit in: /

"Fabian Groffen" <[email protected]>
Newsgroups gmane.linux.gentoo.cvs
Message-ID <1782333612.ea77f9bf283f0bebdece8d2d6eda0c2fed4d4b00.grobian@gentoo>
commit:     ea77f9bf283f0bebdece8d2d6eda0c2fed4d4b00
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 24 20:40:12 2026 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Wed Jun 24 20:40:12 2026 +0000
URL:        https://gitweb.gentoo.org/proj/portage-utils.git/commit/?id=ea77f9bf

qdepends: adapt dep_resolve_tree call to consider keywords

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

 qdepends.c | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/qdepends.c b/qdepends.c
index 83c544c7..57dd7f1b 100644
--- a/qdepends.c
+++ b/qdepends.c
@@ -214,7 +214,9 @@ qdepends_results_cb
           tree_pkg_ctx *p = array_get(ma, 0);
           use = set_add_from_string(NULL, tree_pkg_meta(p, Q_USE));
         }
-        dep_resolve_tree(dep_tree, state->vdb, use, NULL /*TODO masks*/);
+        dep_resolve_tree(dep_tree, state->vdb, use,
+                         NULL /*TODO masks*/,
+                         accept_keywords);
         array_free(ma);
         set_free(use);
       }
@@ -266,7 +268,9 @@ qdepends_results_cb
       {
         /* try and resolve expressions to real package atoms */
         if (state->resolve)
-          dep_resolve_tree(dep_tree, state->vdb, ev_use, NULL /*TODO masks*/);
+          dep_resolve_tree(dep_tree, state->vdb, ev_use,
+                           NULL /*TODO masks*/,
+                           accept_keywords);
 
         printf("\n%s=\"\n", *dfile);
         dep_print_tree(stdout, dep_tree, 1, deps,
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.