]> git.pld-linux.org Git - packages/poldek.git/commitdiff
- more simple and less overhead auto/th/poldek-0_30-0_20080820_23_33
authorBartłomiej Zimoń <cactus@pld-linux.org>
Thu, 29 Oct 2009 10:32:00 +0000 (10:32 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    poldek-dont-be-greedy.patch -> 1.2

poldek-dont-be-greedy.patch

index ec30c8c741cd49fccd8db9bb3105dcbfa09b3ec6..00fb8eeba42cfd2199ed70cf5291401954c98814 100644 (file)
@@ -1,14 +1,13 @@
 diff --git a/install3/requirements.c b/install3/requirements.c
-index ea9df61..361c400 100644
+index ea9df61..fee15db 100644
 --- a/install3/requirements.c
 +++ b/install3/requirements.c
-@@ -386,7 +392,8 @@ static int process_orphan_req(int indent, struct i3ctx *ictx,
+@@ -386,7 +392,7 @@ static int process_orphan_req(int indent, struct i3ctx *ictx,
      }
      
      /* try upgrade orphan */
 -    if (ts->getop(ts, POLDEK_OP_GREEDY)) {
-+    if (ts->getop(ts, POLDEK_OP_GREEDY) && !(tomark && pkg_caps_match_req(tomark, req,
-+              POLDEK_MA_PROMOTE_EPOCH || POLDEK_MA_PROMOTE_VERSION))) {
++    if (ts->getop(ts, POLDEK_OP_GREEDY) && (tomark == NULL)) {
          if (try_to_upgrade_orphan(indent, ictx, pkg, req, tomark))
              goto l_end;
      }
This page took 0.053884 seconds and 4 git commands to generate.