index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dave Reisner <d@falconindy.com> | 2011-02-25 09:11:37 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-02-25 09:45:13 -0600 |
commit | eefe8c83644892b963b1b4e5fbe297fa4be1f119 (patch) | |
tree | 9878cf0af39f5f8324e83bfc918b400b5c03d0c2 /lib/libalpm/deps.c | |
parent | ab49bf6fa9df6daf7210c28ddfcf013ee9fe4386 (diff) |
-rw-r--r-- | lib/libalpm/deps.c | 2 |
diff --git a/lib/libalpm/deps.c b/lib/libalpm/deps.c index 25852fe7..e2187fdb 100644 --- a/lib/libalpm/deps.c +++ b/lib/libalpm/deps.c @@ -619,7 +619,7 @@ pmpkg_t *_alpm_resolvedep(pmdepend_t *dep, alpm_list_t *dbs, /* first check if one provider is already installed locally */ for(i = providers; i; i = i->next) { pmpkg_t *pkg = i->data; - if (_alpm_pkghash_find(_alpm_db_get_pkgcache(handle->db_local), pkg->name)) { + if (_alpm_pkghash_find(_alpm_db_get_pkgcache_hash(handle->db_local), pkg->name)) { alpm_list_free(providers); return(pkg); } |