]> git.pld-linux.org Git - packages/poldek.git/commitdiff
- patch #2 from https://bugs.launchpad.net/poldek/+bug/299685
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 19 Nov 2008 00:52:49 +0000 (00:52 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    poldek-nocolor-upgrade.patch -> 1.1

poldek-nocolor-upgrade.patch [new file with mode: 0644]

diff --git a/poldek-nocolor-upgrade.patch b/poldek-nocolor-upgrade.patch
new file mode 100644 (file)
index 0000000..1274bd9
--- /dev/null
@@ -0,0 +1,16 @@
+--- pkgcmp.c~  2008-02-02 22:49:04.000000000 +0100
++++ pkgcmp.c   2008-11-19 01:00:37.123524800 +0100
+@@ -84,11 +84,8 @@
+     if (pkg->color && candidate->color)
+         return pkg->color & candidate->color;
+-    /* same name and candidate without color -> promote candidate */
+-    if (pkg->color && pkg_is_kind_of(candidate, pkg)) 
+-        return 1;
+-
+-    return 0;
++    /* either new or old package contains no binary files, let it happen */
++    return 1;
+ }
+ int pkg_eq_capreq(const struct pkg *pkg, const struct capreq *cr) 
This page took 0.078918 seconds and 4 git commands to generate.