Codebase list pkgconf / d1bbb4b
Apply an upstream patch to validate the dependency graph when --exists is specified Closes: #1026781 Andrej Shadura 1 year, 3 months ago
2 changed file(s) with 24 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 From: Ariadne Conill <ariadne@dereferenced.org>
1 Date: Sun, 22 Jan 2023 10:46:27 +0000
2 Subject: cli: if --exists is specified, require the full dependency graph to validate
3
4 Bug-Debian: https://bugs.debian.org/1026781
5 ---
6 cli/main.c | 3 +++
7 1 file changed, 3 insertions(+)
8
9 diff --git a/cli/main.c b/cli/main.c
10 index 837fa8b..99421e7 100644
11 --- a/cli/main.c
12 +++ b/cli/main.c
13 @@ -1039,6 +1039,9 @@ main(int argc, char *argv[])
14 if ((want_flags & PKG_STATIC) == PKG_STATIC || personality->want_default_static)
15 want_client_flags |= (PKGCONF_PKG_PKGF_SEARCH_PRIVATE | PKGCONF_PKG_PKGF_MERGE_PRIVATE_FRAGMENTS);
16
17 + if ((want_flags & PKG_EXISTS) == PKG_EXISTS)
18 + want_client_flags |= PKGCONF_PKG_PKGF_SEARCH_PRIVATE;
19 +
20 if ((want_flags & PKG_SHARED) == PKG_SHARED)
21 want_client_flags &= ~(PKGCONF_PKG_PKGF_SEARCH_PRIVATE | PKGCONF_PKG_PKGF_MERGE_PRIVATE_FRAGMENTS);
22
00 sysroot_dir-logic.patch
11 pkg.m4/0001-pkg.m4-Unified-indentation-in-PKG_CHECK_MODULES.patch
22 pkg.m4/0003-trivial-sync-of-pkg.m4-from-freedesktop.patch
3 fix-exists-print-errors.patch