index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Aurelien Foret <aurelien@archlinux.org> | 2006-01-09 20:16:00 +0000 |
---|---|---|
committer | Aurelien Foret <aurelien@archlinux.org> | 2006-01-09 20:16:00 +0000 |
commit | fd6ce1f4cb8011756f7c07d28c5e06ce0be1acb7 (patch) | |
tree | 1e735f251fdfb3413085862bf77f851ec0ce3eb0 /lib/libalpm/deps.c | |
parent | 45a7e57f6c4c375d6b8716e2dfc15da592ec147b (diff) |
-rw-r--r-- | lib/libalpm/deps.c | 4 |
diff --git a/lib/libalpm/deps.c b/lib/libalpm/deps.c index 6b9ab6c3..8c1e3558 100644 --- a/lib/libalpm/deps.c +++ b/lib/libalpm/deps.c @@ -562,7 +562,7 @@ PMList* removedeps(pmdb_t *db, PMList *targs) } if(!needed) { char *name; - pmpkg_t *pkg = pkg_dummy(dep->name, dep->version); + pmpkg_t *pkg = pkg_new(dep->name, dep->version); if(pkg == NULL) { _alpm_log(PM_LOG_ERROR, "could not allocate memory for a package structure"); continue; @@ -696,7 +696,7 @@ int resolvedeps(pmdb_t *local, PMList *dbs_sync, pmpkg_t *syncpkg, PMList *list, } } if(found) { - pmpkg_t *dummypkg = pkg_dummy(miss->target, NULL); + pmpkg_t *dummypkg = pkg_new(miss->target, NULL); QUESTION(trans, PM_TRANS_CONV_INSTALL_IGNOREPKG, dummypkg, sync, NULL, &usedep); FREEPKG(dummypkg); } |