]> git.pld-linux.org Git - packages/poldek.git/blob - poldek-cap_match_req-fix.patch
- BR: pkgconfig
[packages/poldek.git] / poldek-cap_match_req-fix.patch
1 Index: pkg.c
2 ===================================================================
3 RCS file: /cvsroot/installer/poldek/pkg.c,v
4 retrieving revision 1.51.4.2
5 diff -u -r1.51.4.2 pkg.c
6 --- pkg.c       30 Dec 2003 18:19:52 -0000      1.51.4.2
7 +++ pkg.c       19 Feb 2004 00:18:18 -0000
8 @@ -717,6 +717,9 @@
9      if ((strcmp(capreq_name(cap), capreq_name(req))) != 0)
10          return 0;
11  
12 +    if (!capreq_versioned(req))
13 +       return 1;
14 +
15      if (capreq_has_epoch(cap)) {
16          if (!capreq_has_epoch(req) && poldek_conf_promote_epoch) {
17              if (verbose > 1)
This page took 0.028209 seconds and 3 git commands to generate.