From d9e507cc6eca95f8c3b829d22177361737310fe7 Mon Sep 17 00:00:00 2001 From: Ariadne Conill Date: Sat, 21 Jan 2023 21:31:38 +0000 Subject: [PATCH] pkg: do not do serial checks for flattened solutions, as they are already flattened --- libpkgconf/pkg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libpkgconf/pkg.c b/libpkgconf/pkg.c index fe0293e..ad98eb0 100644 --- a/libpkgconf/pkg.c +++ b/libpkgconf/pkg.c @@ -1492,7 +1492,7 @@ pkgconf_pkg_walk_list(pkgconf_client_t *client, if (pkgdep == NULL) continue; - if (pkgdep->serial == client->serial) + if (pkgdep->serial == client->serial && !(parent->flags & PKGCONF_PKG_PROPF_VIRTUAL)) { pkgdep->hits++;