mirror of
https://github.com/moparisthebest/pacman
synced 2024-12-22 07:48:50 -05:00
dep_graph_init: filter ignored packages by name
Ignored packages are from the transaction remove list which consists of duplicated packages so a direct pointer comparison is not appropriate. Signed-off-by: Andrew Gregory <andrew.gregory.8@gmail.com> Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
parent
22e478d203
commit
0c43198ee0
@ -106,7 +106,7 @@ static alpm_list_t *dep_graph_init(alpm_handle_t *handle,
|
||||
alpm_list_t *i, *j;
|
||||
alpm_list_t *vertices = NULL;
|
||||
alpm_list_t *localpkgs = alpm_list_diff(
|
||||
alpm_db_get_pkgcache(handle->db_local), ignore, ptr_cmp);
|
||||
alpm_db_get_pkgcache(handle->db_local), ignore, _alpm_pkg_cmp);
|
||||
|
||||
/* We create the vertices */
|
||||
for(i = targets; i; i = i->next) {
|
||||
|
Loading…
Reference in New Issue
Block a user