From d24dcf61edc380a2383cf91c47045bec88e97295 Mon Sep 17 00:00:00 2001 From: Wichert Akkerman Date: Mon, 1 Apr 2002 17:03:31 +0000 Subject: [PATCH] treat enhances like suggests in packagelist::resolvedepcon() --- ChangeLog | 5 +++++ dselect/pkgdepcon.cc | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index d53f20e7..ee404184 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Mon Apr 1 18:57:02 CEST 2002 Wichert Akkerman + + * dselect/pkgdepcon.cc: treat enhances like suggests in + packagelist::resolvedepcon() + Mon Mar 11 23:22:37 CST 2002 Adam Heath * configure.in: Bad Wichert. Always modify configure.in when adding diff --git a/dselect/pkgdepcon.cc b/dselect/pkgdepcon.cc index 63a830d0..527fc5a0 100644 --- a/dselect/pkgdepcon.cc +++ b/dselect/pkgdepcon.cc @@ -221,9 +221,10 @@ int packagelist::resolvedepcon(dependency *depends) { case dep_replaces: return 0; - case dep_enhances: - return 0; +// case dep_enhances: +// return 0; + case dep_enhances: case dep_suggests: case dep_recommends: case dep_depends: @@ -244,6 +245,7 @@ int packagelist::resolvedepcon(dependency *depends) { // Ensures all in the recursive list; adds info strings; ups priorities switch (depends->type) { + case dep_enhances: case dep_suggests: r= add(depends, dp_may); return r; -- 2.39.5