]> git.pld-linux.org Git - packages/poldek.git/commitdiff
- from patrys
authorElan Ruusamäe <glen@pld-linux.org>
Wed, 19 Nov 2008 15:52:40 +0000 (15:52 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    poldek-keep-reinstalled-provides.patch -> 1.1
    poldek-upgrade-dist.patch -> 1.1

poldek-keep-reinstalled-provides.patch [new file with mode: 0644]
poldek-upgrade-dist.patch [new file with mode: 0644]

diff --git a/poldek-keep-reinstalled-provides.patch b/poldek-keep-reinstalled-provides.patch
new file mode 100644 (file)
index 0000000..9c84527
--- /dev/null
@@ -0,0 +1,11 @@
+--- install3/misc.c~   2008-08-18 11:26:41.000000000 +0200
++++ install3/misc.c    2008-11-19 15:47:48.471454682 +0100
+@@ -365,7 +365,7 @@
+             /* possible when the same package exists in both available
+                and already installed set */
+-            if (i3_is_marked_for_removal(ictx, suspkg)) {
++            if (i3_is_marked_for_removal(ictx, suspkg) && !i3_is_marked(ictx, suspkg)) {
+                 pkg_free(suspkg);
+                 continue;
+             }
diff --git a/poldek-upgrade-dist.patch b/poldek-upgrade-dist.patch
new file mode 100644 (file)
index 0000000..817e729
--- /dev/null
@@ -0,0 +1,31 @@
+--- pkgcmp.c~  2008-11-19 12:17:09.000000000 +0100
++++ pkgcmp.c   2008-11-19 14:50:18.440454833 +0100
+@@ -44,7 +44,7 @@
+     register int rc = strcmp(pkg->name, candidate->name);
+     
+     if (rc == 0 && poldek_conf_MULTILIB) {
+-        rc = pkg_cmp_arch(pkg, candidate);
++        rc = 1 - pkg_is_colored_like(candidate, pkg);
+         //if (rc == 0)
+         //    DBGF("%s, %s => YES\n", pkg_id(candidate), pkg_id(pkg));
+     }
+--- upgrade-dist.c~    2008-05-12 18:51:38.000000000 +0300
++++ upgrade-dist.c     2008-11-19 17:20:20.947658293 +0200
+@@ -55,7 +55,7 @@
+     i = n_array_bsearch_idx_ex(ts->ctx->ps->pkgs, dbpkg, (tn_fn_cmp)pkg_cmp_name); 
+     if (i < 0) {
+-        msgn(3, "%-32s not found in repository", pkg_id(dbpkg));
++        msgn(3, "%-32s not found in repository", pkg_id(dbpkg));
+         return 1;
+     }
+@@ -73,7 +73,7 @@
+     }
+     
+     if (pkg == NULL) {
+-        msgn(3, "%-32s not found in repository", pkg_id(dbpkg));
++        msgn(3, "%-32s match not found in repository", pkg_id(dbpkg));
+         return 1;
+     }
+     
This page took 0.052044 seconds and 4 git commands to generate.