From 90b9888d3ac6592cd6127011687142f29a882a47 Mon Sep 17 00:00:00 2001 From: Aurelien Foret Date: Sun, 24 Apr 2005 20:06:00 +0000 Subject: got ride of an ORE tag in resolvedeps() --- lib/libalpm/deps.c | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'lib/libalpm/deps.c') diff --git a/lib/libalpm/deps.c b/lib/libalpm/deps.c index a543277a..2f5d1457 100644 --- a/lib/libalpm/deps.c +++ b/lib/libalpm/deps.c @@ -33,6 +33,9 @@ #include "provide.h" #include "deps.h" #include "rpmvercmp.h" +#include "handle.h" + +extern pmhandle_t *handle; /* Re-order a list of target packages with respect to their dependencies. * @@ -628,17 +631,11 @@ int resolvedeps(pmdb_t *local, PMList *dbs_sync, pmpkg_t *syncpkg, PMList *list, */ int usedep = 1; found = 0; - /* ORE for(j = handle->ignorepkg; j && !found; j = j->next) { if(!strcmp(j->data, sync->name)) { found = 1; } } - for(j = pmo_s_ignore; j && !found; j = j->next) { - if(!strcmp(j->data, sync->pkg->name)) { - found = 1; - } - }*/ if(found) { /* ORE usedep = yesno("%s requires %s, but it is in IgnorePkg. Install anyway? [Y/n] ", -- cgit v1.2.3-54-g00ecf