index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Chantry Xavier <shiningxc@gmail.com> | 2008-01-14 20:28:29 +0100 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2008-01-14 22:03:03 -0600 |
commit | 0c5b68877b107f4844f29eb77a9ea5bf7b73fe01 (patch) | |
tree | 6908dd557033cc9547a060b0903ebf673f870d24 /lib/libalpm/deps.c | |
parent | 6eee9e987a2dc6eba183f61fb596b7e0b8cc1645 (diff) |
-rw-r--r-- | lib/libalpm/deps.c | 4 |
diff --git a/lib/libalpm/deps.c b/lib/libalpm/deps.c index 8c302b69..ec52083e 100644 --- a/lib/libalpm/deps.c +++ b/lib/libalpm/deps.c @@ -336,10 +336,10 @@ int SYMEXPORT alpm_depcmp(pmpkg_t *pkg, pmdepend_t *dep) satisfy = (strcmp(pkgname, dep->name) == 0 && dep_vercmp(pkgversion, dep->mod, dep->version)); - /* check provisions, format : "name version" */ + /* check provisions, format : "name=version" */ for(i = alpm_pkg_get_provides(pkg); i && !satisfy; i = i->next) { char *provname = strdup(i->data); - char *provver = strchr(provname, ' '); + char *provver = strchr(provname, '='); if(provver == NULL) { /* no provision version */ satisfy = (dep->mod == PM_DEP_MOD_ANY |