Gentoo Archives: gentoo-commits

From: "Ned Ludd (solar)" <solar@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-projects commit in portage-utils: main.c
Date: Sun, 23 Aug 2009 06:07:16
Message-Id: E1Mf6EO-00078l-0U@stork.gentoo.org
1 solar 09/08/23 06:07:08
2
3 Modified: main.c
4 Log:
5 - old patch that needs pushing. I think it fixed the -rX problem with qpkg
6
7 Revision Changes Path
8 1.163 portage-utils/main.c
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo-projects/portage-utils/main.c?rev=1.163&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo-projects/portage-utils/main.c?rev=1.163&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo-projects/portage-utils/main.c?r1=1.162&r2=1.163
13
14 Index: main.c
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-projects/portage-utils/main.c,v
17 retrieving revision 1.162
18 retrieving revision 1.163
19 diff -u -r1.162 -r1.163
20 --- main.c 24 Mar 2009 20:53:24 -0000 1.162
21 +++ main.c 23 Aug 2009 06:07:07 -0000 1.163
22 @@ -1,7 +1,7 @@
23 /*
24 * Copyright 2005-2008 Gentoo Foundation
25 * Distributed under the terms of the GNU General Public License v2
26 - * $Header: /var/cvsroot/gentoo-projects/portage-utils/main.c,v 1.162 2009/03/24 20:53:24 grobian Exp $
27 + * $Header: /var/cvsroot/gentoo-projects/portage-utils/main.c,v 1.163 2009/08/23 06:07:07 solar Exp $
28 *
29 * Copyright 2005-2008 Ned Ludd - <solar@g.o>
30 * Copyright 2005-2008 Mike Frysinger - <vapier@g.o>
31 @@ -946,6 +946,11 @@
32 free(cache);
33 }
34
35 +char *atom_to_pvr(depend_atom *atom);
36 +char *atom_to_pvr(depend_atom *atom) {
37 + return (atom->PR_int == 0 ? atom->P : atom->PVR );
38 +}
39 +
40 char *grab_vdb_item(const char *, const char *, const char *);
41 char *grab_vdb_item(const char *item, const char *CATEGORY, const char *PF)
42 {