summaryrefslogtreecommitdiff
path: root/src/apk_solver_data.h
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-06-20 14:08:16 +0300
committerTimo Teräs <timo.teras@iki.fi>2013-06-20 14:08:16 +0300
commit3f27da2adec968b1d8f83149b2b321e1050b4acb (patch)
treefe66fec31a9eb8a6541075ef3f8e307d2e99d957 /src/apk_solver_data.h
parent7e18398781b056f858ef60200e24b0f8ab394cfe (diff)
downloadapk-tools-3f27da2adec968b1d8f83149b2b321e1050b4acb.tar.gz
apk-tools-3f27da2adec968b1d8f83149b2b321e1050b4acb.tar.bz2
apk-tools-3f27da2adec968b1d8f83149b2b321e1050b4acb.tar.xz
apk-tools-3f27da2adec968b1d8f83149b2b321e1050b4acb.zip
solver: fix pinning+cache to work
Mistakenly allowed masked out package to be installed if it was in cache.
Diffstat (limited to 'src/apk_solver_data.h')
-rw-r--r--src/apk_solver_data.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/apk_solver_data.h b/src/apk_solver_data.h
index 7853af5..0cff7b4 100644
--- a/src/apk_solver_data.h
+++ b/src/apk_solver_data.h
@@ -50,9 +50,10 @@ struct apk_solver_package_state {
unsigned solver_flags : 4;
unsigned solver_flags_inheritable : 4;
unsigned seen : 1;
+ unsigned pkg_available : 1;
+ unsigned pkg_selectable : 1;
unsigned tag_ok : 1;
unsigned tag_preferred : 1;
- unsigned available : 1;
unsigned dependencies_used : 1;
unsigned dependencies_merged : 1;
unsigned in_changeset : 1;