]> git.pld-linux.org Git - packages/poldek.git/commitdiff
- fix for matching non-versioned deps vs Provides with epoch (from author)
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 19 Feb 2004 07:15:16 +0000 (07:15 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    poldek-cap_match_req-fix.patch -> 1.1

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

diff --git a/poldek-cap_match_req-fix.patch b/poldek-cap_match_req-fix.patch
new file mode 100644 (file)
index 0000000..d8358c0
--- /dev/null
@@ -0,0 +1,17 @@
+Index: pkg.c
+===================================================================
+RCS file: /cvsroot/installer/poldek/pkg.c,v
+retrieving revision 1.51.4.2
+diff -u -r1.51.4.2 pkg.c
+--- pkg.c      30 Dec 2003 18:19:52 -0000      1.51.4.2
++++ pkg.c      19 Feb 2004 00:18:18 -0000
+@@ -717,6 +717,9 @@
+     if ((strcmp(capreq_name(cap), capreq_name(req))) != 0)
+         return 0;
++    if (!capreq_versioned(req))
++      return 1;
++
+     if (capreq_has_epoch(cap)) {
+         if (!capreq_has_epoch(req) && poldek_conf_promote_epoch) {
+             if (verbose > 1)
This page took 0.059583 seconds and 4 git commands to generate.