diff options
author | Timo Teräs <timo.teras@iki.fi> | 2017-10-27 15:18:15 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2017-10-27 15:20:03 +0300 |
commit | e03716ff3baa73061b45235754bd9eaa53346337 (patch) | |
tree | 24b2370cfd1113cec2c33237eddc1d341663b44b /src/apk_solver_data.h | |
parent | 2f3c8420493a731556909eb3ebd6d50478fb7b24 (diff) | |
download | apk-tools-e03716ff3baa73061b45235754bd9eaa53346337.tar.gz apk-tools-e03716ff3baa73061b45235754bd9eaa53346337.tar.bz2 apk-tools-e03716ff3baa73061b45235754bd9eaa53346337.tar.xz apk-tools-e03716ff3baa73061b45235754bd9eaa53346337.zip |
solver: consider virtual provides to exclude non-provides transitively
this fixes package selection when a 'real' package exists, but would
need to be provided by another package with 'virtual provides'.
In current package database this can happen with postgresql which is
also provided by postgresql-bdr. Normally postgresql would be satisfied
by postgresql, but if any package depends on postgresql-bdr and there's
no versioned dependency on postgresql this will help apk figure out
that postgresql-bdr should be used.
Diffstat (limited to 'src/apk_solver_data.h')
-rw-r--r-- | src/apk_solver_data.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/apk_solver_data.h b/src/apk_solver_data.h index ca3f127..43b7a1b 100644 --- a/src/apk_solver_data.h +++ b/src/apk_solver_data.h @@ -41,6 +41,7 @@ struct apk_solver_name_state { unsigned no_iif : 1; unsigned has_options : 1; unsigned reverse_deps_done : 1; + unsigned has_virtual_provides : 1; }; struct apk_solver_package_state { |