diff options
author | Dan McGee <dan@archlinux.org> | 2011-02-04 16:10:25 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-02-04 16:10:25 +0100 |
commit | e34fc4eddf73f2453b42235f5ae7d65f75db66fc (patch) | |
tree | 93b3a31a7db207f70b0a024f4de83ff8e0e3158f /src/util/pactree.c | |
parent | c12ccbfb2c7aa907ba01339a1a29089c65ea9911 (diff) | |
parent | 6b0d4674bb132b2583920211cc798f3db77ec392 (diff) | |
download | pacman-e34fc4eddf73f2453b42235f5ae7d65f75db66fc.tar.gz pacman-e34fc4eddf73f2453b42235f5ae7d65f75db66fc.tar.xz |
Merge remote-tracking branch 'allan/hash'
Diffstat (limited to 'src/util/pactree.c')
-rw-r--r-- | src/util/pactree.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util/pactree.c b/src/util/pactree.c index 6a10006f..947ed61c 100644 --- a/src/util/pactree.c +++ b/src/util/pactree.c @@ -303,7 +303,7 @@ static void walk_deps(pmpkg_t *pkg, int depth) for(i = alpm_pkg_get_depends(pkg); i; i = alpm_list_next(i)) { pmdepend_t *depend = alpm_list_getdata(i); - pmpkg_t *provider = alpm_find_satisfier(alpm_db_get_pkgcache(db_local), + pmpkg_t *provider = alpm_find_satisfier(alpm_db_get_pkgcache_list(db_local), alpm_dep_get_name(depend)); if(provider) { @@ -347,7 +347,7 @@ int main(int argc, char *argv[]) /* we only care about the first non option arg for walking */ target_name = argv[optind]; - pkg = alpm_find_satisfier(alpm_db_get_pkgcache(db_local), target_name); + pkg = alpm_find_satisfier(alpm_db_get_pkgcache_list(db_local), target_name); if(!pkg) { fprintf(stderr, "error: package '%s' not found\n", target_name); ret = 1; |