SOURCES: poldek-compare.patch (NEW) - properly compare versions (f...
arekm
arekm at pld-linux.org
Mon Oct 3 11:38:56 CEST 2005
Author: arekm Date: Mon Oct 3 09:38:56 2005 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- properly compare versions (fixes poldek -u brokeness)
---- Files affected:
SOURCES:
poldek-compare.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/poldek-compare.patch
diff -u /dev/null SOURCES/poldek-compare.patch:1.1
--- /dev/null Mon Oct 3 11:38:56 2005
+++ SOURCES/poldek-compare.patch Mon Oct 3 11:38:51 2005
@@ -0,0 +1,12 @@
+diff -urN poldek-0.19.0-cvs20050921.00.org/pkgset-req.c poldek-0.19.0-cvs20050921.00/pkgset-req.c
+--- poldek-0.19.0-cvs20050921.00.org/pkgset-req.c 2005-07-10 14:25:02.000000000 +0200
++++ poldek-0.19.0-cvs20050921.00/pkgset-req.c 2005-10-03 11:40:10.333900296 +0200
+@@ -256,7 +256,7 @@
+
+ j = i;
+
+- while (j > 0 && pkg_cmp_name_evr(tmp, pkgs[j - 1]) < 0) {
++ while (j > 0 && pkg_cmp_name_evr_rev(tmp, pkgs[j - 1]) < 0) {
+ pkgs[j] = pkgs[j - 1];
+ j--;
+ }
================================================================
More information about the pld-cvs-commit
mailing list