[Frugalware-darcs] pacman: checkdeps(): handle the case when
trans->type != PM_TRANS_TYPE_SYNC
VMiklos
vmiklos at frugalware.org
Thu Mar 16 17:45:41 CET 2006
[checkdeps(): handle the case when trans->type != PM_TRANS_TYPE_SYNC
VMiklos <vmiklos at frugalware.org>**20060127232051] {
hunk ./lib/libalpm/deps.c 384
+ pmpkg_t *spkg = NULL;
+ if(trans->type == PM_TRANS_TYPE_SYNC) {
hunk ./lib/libalpm/deps.c 387
- pmpkg_t *spkg = sync->pkg;
- if(pm_list_is_strin(tp->name, spkg->provides)) {
+ spkg = sync->pkg;
+ } else {
+ spkg = k->data;
+ }
+ if(spkg && pm_list_is_strin(tp->name, spkg->provides)) {
}
More information about the Frugalware-darcs
mailing list