From: Michael Schroeder Date: Tue, 25 Mar 2014 12:00:03 +0000 (+0100) Subject: cplxdeps: special case SYSTEMSOLVABLE X-Git-Tag: 0.6.4~60 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e29db2863f649eefe33591d252ac3e4de69e9306;p=thirdparty%2Flibsolv.git cplxdeps: special case SYSTEMSOLVABLE --- diff --git a/src/cplxdeps.c b/src/cplxdeps.c index edb7cf8c..9e421942 100644 --- a/src/cplxdeps.c +++ b/src/cplxdeps.c @@ -245,6 +245,8 @@ normalize_dep(Pool *pool, Id dep, Queue *bq, int todnf) dp = pool_whatprovides(pool, dep); if (dp <= 2 || !pool->whatprovidesdata[dp]) return dp == 2 ? 1 : 0; + if (pool->whatprovidesdata[dp] == SYSTEMSOLVABLE) + return 1; if (todnf) { for (; pool->whatprovidesdata[dp]; dp++)