summaryrefslogtreecommitdiffstats
path: root/lib/libalpm
diff options
context:
space:
mode:
authorAndrew Gregory <andrew.gregory.8@gmail.com>2014-08-01 14:19:47 -0700
committerAllan McRae <allan@archlinux.org>2014-08-04 14:23:58 +1000
commit0c43198ee0817d7acea47ea5d15b4704db78308f (patch)
tree78dea3353b7ad7fd256c16d9c70d77246bb8473c /lib/libalpm
parent22e478d20322a1d224fc41866d018d4b8a774057 (diff)
downloadpacman-0c43198ee0817d7acea47ea5d15b4704db78308f.tar.xz
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>
Diffstat (limited to 'lib/libalpm')
-rw-r--r--lib/libalpm/deps.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libalpm/deps.c b/lib/libalpm/deps.c
index 1cbbc5f6..adbccd1e 100644
--- a/lib/libalpm/deps.c
+++ b/lib/libalpm/deps.c
@@ -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) {