index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2008-05-14 00:37:51 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-05-14 00:37:51 -0500 |
commit | a8ee1854135f333091337e3dbcb1f96cdb1aab01 (patch) | |
tree | ff19ee0cd3fbee34033d3c61074cd3b219a1e764 /lib/libalpm/deps.c | |
parent | 84283672853350a84d2a71b72dc06e180cad1587 (diff) |
-rw-r--r-- | lib/libalpm/deps.c | 2 |
diff --git a/lib/libalpm/deps.c b/lib/libalpm/deps.c index 55e24388..37e99162 100644 --- a/lib/libalpm/deps.c +++ b/lib/libalpm/deps.c @@ -339,7 +339,7 @@ static int dep_vercmp(const char *version1, pmdepmod_t mod, if(mod == PM_DEP_MOD_ANY) { equal = 1; } else { - int cmp = _alpm_versioncmp(version1, version2); + int cmp = alpm_pkg_vercmp(version1, version2); switch(mod) { case PM_DEP_MOD_EQ: equal = (cmp == 0); break; case PM_DEP_MOD_GE: equal = (cmp >= 0); break; |