From 8b62d9bc0ade64897990b8fc6a1b6a54b629cb5b Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Tue, 7 Jun 2011 14:05:42 -0500 Subject: Add handle argument to two more alpm methods This takes care of alpm_checkdeps() and alpm_find_dbs_satisfier(). Signed-off-by: Dan McGee --- src/pacman/sync.c | 2 +- src/util/testdb.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/pacman/sync.c b/src/pacman/sync.c index be6f147f..77f6c45b 100644 --- a/src/pacman/sync.c +++ b/src/pacman/sync.c @@ -685,7 +685,7 @@ cleanup: static int process_targname(alpm_list_t *dblist, char *targname) { - pmpkg_t *pkg = alpm_find_dbs_satisfier(dblist, targname); + pmpkg_t *pkg = alpm_find_dbs_satisfier(config->handle, dblist, targname); /* #FS23342 - skip ignored packages when user says no */ if(pm_errno == PM_ERR_PKG_IGNORED) { diff --git a/src/util/testdb.c b/src/util/testdb.c index 839a9cf7..bda67d52 100644 --- a/src/util/testdb.c +++ b/src/util/testdb.c @@ -98,7 +98,7 @@ static int checkdeps(alpm_list_t *pkglist) alpm_list_t *data, *i; int ret = 0; /* check dependencies */ - data = alpm_checkdeps(pkglist, 0, NULL, pkglist); + data = alpm_checkdeps(handle, pkglist, NULL, pkglist, 0); for(i = data; i; i = alpm_list_next(i)) { pmdepmissing_t *miss = alpm_list_getdata(i); pmdepend_t *dep = alpm_miss_get_dep(miss); -- cgit v1.2.3