index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Allan McRae <allan@archlinux.org> | 2010-06-19 18:55:08 +1000 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2010-06-21 01:04:58 +1000 |
commit | 59c47aaf529df02ec1577fe727c3c84d13592666 (patch) | |
tree | 63049bcc89e7058376ce0607ddee116b2f819ddc /lib/libalpm/deps.c | |
parent | d7dccd541962f0dd8bf323ae11633e595bfb4922 (diff) |
-rw-r--r-- | lib/libalpm/deps.c | 2 |
diff --git a/lib/libalpm/deps.c b/lib/libalpm/deps.c index 26f9b16d..fd893a63 100644 --- a/lib/libalpm/deps.c +++ b/lib/libalpm/deps.c @@ -546,7 +546,7 @@ pmpkg_t *_alpm_resolvedep(pmdepend_t *dep, alpm_list_t *dbs, for(i = dbs; i; i = i->next) { for(j = _alpm_db_get_pkgcache(i->data); j; j = j->next) { pmpkg_t *pkg = j->data; - if(alpm_depcmp(pkg, dep) && strcmp(pkg->name, dep->name) && + if(alpm_depcmp(pkg, dep) && strcmp(pkg->name, dep->name) != 0 && !_alpm_pkg_find(excluding, pkg->name)) { if(_alpm_pkg_should_ignore(pkg)) { int install = 0; |