1 --- pkgcmp.c~ 2008-11-19 01:12:49.000000000 +0100
2 +++ pkgcmp.c 2008-11-19 01:13:36.125519583 +0100
6 if (pkg->color && candidate->color)
7 - return pkg->color & candidate->color;
8 + return (pkg->color & candidate->color) > 0;
10 - /* same name and candidate without color -> promote candidate */
11 - if (pkg->color && pkg_is_kind_of(candidate, pkg))
15 + /* either new or old package contains no binary files, let it happen */
19 int pkg_eq_capreq(const struct pkg *pkg, const struct capreq *cr)