]> git.pld-linux.org Git - packages/poldek.git/commitdiff
- properly compare versions (fixes poldek -u brokeness)
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Mon, 3 Oct 2005 09:38:51 +0000 (09:38 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    poldek-compare.patch -> 1.1

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

diff --git a/poldek-compare.patch b/poldek-compare.patch
new file mode 100644 (file)
index 0000000..96b3712
--- /dev/null
@@ -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--;
+       }
This page took 0.038997 seconds and 4 git commands to generate.