Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/lib/libalpm/deps.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libalpm/deps.c')
-rw-r--r--lib/libalpm/deps.c9
1 files changed, 3 insertions, 6 deletions
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] ",