]> git.pld-linux.org Git - packages/poldek.git/blame - poldek-nocolor-upgrade.patch
- bugfix patches
[packages/poldek.git] / poldek-nocolor-upgrade.patch
CommitLineData
3a6613ff
ER
1--- pkgcmp.c~ 2008-02-02 22:49:04.000000000 +0100
2+++ pkgcmp.c 2008-11-19 01:00:37.123524800 +0100
3@@ -84,11 +84,8 @@
4 if (pkg->color && candidate->color)
5 return pkg->color & candidate->color;
6
7- /* same name and candidate without color -> promote candidate */
8- if (pkg->color && pkg_is_kind_of(candidate, pkg))
9- return 1;
10-
11- return 0;
12+ /* either new or old package contains no binary files, let it happen */
13+ return 1;
14 }
15
16 int pkg_eq_capreq(const struct pkg *pkg, const struct capreq *cr)
This page took 0.072145 seconds and 4 git commands to generate.