]> git.ipfire.org Git - thirdparty/libsolv.git/commitdiff
make build with ENABLE_COMPLEX_DEPS work again
authorMichael Schroeder <mls@suse.de>
Wed, 14 Jan 2015 11:11:10 +0000 (12:11 +0100)
committerMichael Schroeder <mls@suse.de>
Wed, 14 Jan 2015 11:11:10 +0000 (12:11 +0100)
src/rules.c

index 048cd998b4536ed7a59dd940947b44c3c1b87522..e6b578cda4722b99747b971df8dbe48ef6fa5ece 100644 (file)
@@ -541,7 +541,7 @@ add_complex_deprules(Solver *solv, Id p, Id dep, int type, int dontfix, Queue *w
   queue_init(&bq);
 
   /* CNF expansion for requires, DNF + INVERT expansion for conflicts */
-  i = pool_normalize_complex_dep(pool, dep, &bq, type == SOLVER_RULE_DEP_PACKAGE_REQUIRES ? 0 : (CPLXDEPS_TODNF | CPLXDEPS_EXPAND | CPLXDEPS_INVERT));
+  i = pool_normalize_complex_dep(pool, dep, &bq, type == SOLVER_RULE_PKG_REQUIRES ? 0 : (CPLXDEPS_TODNF | CPLXDEPS_EXPAND | CPLXDEPS_INVERT));
   /* handle special cases */
   if (i == 0)
     {