summaryrefslogtreecommitdiffstats
path: root/src/pacman/deptest.c
diff options
context:
space:
mode:
authorChantry Xavier <shiningxc@gmail.com>2007-07-16 14:08:48 +0200
committerDan McGee <dan@archlinux.org>2007-07-16 15:21:13 +0200
commit99572ed8f6f585e5b6ee4c9300b0589b2c75c54a (patch)
tree205e4696138cade0c07a4034bc10a73a4722b5c0 /src/pacman/deptest.c
parentab2354e762767e6088e43b6d1e615576701a7bdb (diff)
downloadpacman-99572ed8f6f585e5b6ee4c9300b0589b2c75c54a.tar.gz
pacman-99572ed8f6f585e5b6ee4c9300b0589b2c75c54a.tar.xz
new pmdepend_t / pmdepmissing_t accessors.
Signed-off-by: Chantry Xavier <shiningxc@gmail.com> Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'src/pacman/deptest.c')
-rw-r--r--src/pacman/deptest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pacman/deptest.c b/src/pacman/deptest.c
index 0f149b28..7f89f6d2 100644
--- a/src/pacman/deptest.c
+++ b/src/pacman/deptest.c
@@ -56,13 +56,13 @@ int pacman_deptest(alpm_list_t *targets)
dep = alpm_splitdep(target);
pkg = alpm_db_get_pkg(alpm_option_get_localdb(),
- alpm_depend_get_name(dep));
+ alpm_dep_get_name(dep));
if(pkg && alpm_depcmp(pkg, dep)) {
found = 1;
} else {
/* not found, can we find anything that provides this in the local DB? */
provides = alpm_db_whatprovides(alpm_option_get_localdb(),
- alpm_depend_get_name(dep));
+ alpm_dep_get_name(dep));
for(j = provides; j; j = alpm_list_next(j)) {
pmpkg_t *pkg;
pkg = alpm_list_getdata(j);