diff options
author | Nagy Gabor <ngaba@petra.hos.u-szeged.hu> | 2007-08-12 22:26:54 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2007-11-25 22:29:37 +0100 |
commit | 7d37d9278d0ab6eb46ec4689c8091780382cbb95 (patch) | |
tree | 2ac6ec5199a9de42967336fa2076b71b5928243f /lib/libalpm/deps.h | |
parent | 1e9a1a0292dbbf8039b8fb7536dbff2af28c7afb (diff) | |
download | pacman-7d37d9278d0ab6eb46ec4689c8091780382cbb95.tar.gz pacman-7d37d9278d0ab6eb46ec4689c8091780382cbb95.tar.xz |
Fix for sync1003 and sync1004 pactests
checkdeps and resolvedeps now take both a remove list and an install list as
arguments, allowing dependencies to be calculated correctly.
This broke the sync990 pactest, but this pactest used dependencies and
provides in an unusual way, so it has been changed.
Dan: the sync990 pactest was just plain wrong. It didn't satisfy the
dependencies correctly, so should never have succeeded.
Signed-off-by: Chantry Xavier <shiningxc@gmail.com>
[Dan: some variable renaming, clarification in commit message]
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/deps.h')
-rw-r--r-- | lib/libalpm/deps.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/libalpm/deps.h b/lib/libalpm/deps.h index a736f705..e4bba8bf 100644 --- a/lib/libalpm/deps.h +++ b/lib/libalpm/deps.h @@ -54,11 +54,9 @@ pmdepmissing_t *_alpm_depmiss_new(const char *target, pmdepmod_t depmod, const char *depname, const char *depversion); int _alpm_depmiss_isin(pmdepmissing_t *needle, alpm_list_t *haystack); alpm_list_t *_alpm_sortbydeps(alpm_list_t *targets, pmtranstype_t mode); -alpm_list_t *_alpm_checkdeps(pmdb_t *db, pmtranstype_t op, - alpm_list_t *packages); void _alpm_recursedeps(pmdb_t *db, alpm_list_t *targs, int include_explicit); int _alpm_resolvedeps(pmdb_t *local, alpm_list_t *dbs_sync, pmpkg_t *syncpkg, - alpm_list_t **list, pmtrans_t *trans, alpm_list_t **data); + alpm_list_t **list, alpm_list_t *remove, pmtrans_t *trans, alpm_list_t **data); #endif /* _ALPM_DEPS_H */ |