1 |
solar 08/09/26 16:42:02 |
2 |
|
3 |
Modified: main.c |
4 |
Log: |
5 |
- add new PROPERTIES field for the metadata cache handler |
6 |
|
7 |
Revision Changes Path |
8 |
1.157 portage-utils/main.c |
9 |
|
10 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-projects/portage-utils/main.c?rev=1.157&view=markup |
11 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-projects/portage-utils/main.c?rev=1.157&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-projects/portage-utils/main.c?r1=1.156&r2=1.157 |
13 |
|
14 |
Index: main.c |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo-projects/portage-utils/main.c,v |
17 |
retrieving revision 1.156 |
18 |
retrieving revision 1.157 |
19 |
diff -u -r1.156 -r1.157 |
20 |
--- main.c 13 Sep 2008 18:58:28 -0000 1.156 |
21 |
+++ main.c 26 Sep 2008 16:42:01 -0000 1.157 |
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.156 2008/09/13 18:58:28 grobian Exp $ |
27 |
+ * $Header: /var/cvsroot/gentoo-projects/portage-utils/main.c,v 1.157 2008/09/26 16:42:01 solar Exp $ |
28 |
* |
29 |
* Copyright 2005-2008 Ned Ludd - <solar@g.o> |
30 |
* Copyright 2005-2008 Mike Frysinger - <vapier@g.o> |
31 |
@@ -756,6 +756,7 @@ |
32 |
char *PDEPEND; |
33 |
char *PROVIDE; /* line 14 */ |
34 |
char *EAPI; |
35 |
+ char *PROPERTIES; |
36 |
depend_atom *atom; |
37 |
} portage_cache; |
38 |
|
39 |
@@ -857,6 +858,7 @@ |
40 |
next_line(CDEPEND, PDEPEND) |
41 |
next_line(PDEPEND, PROVIDE) |
42 |
next_line(PROVIDE, EAPI) |
43 |
+ next_line(EAPI, PROPERTIES) |
44 |
#undef next_line |
45 |
ptr = strchr(ptr+1, '\n'); |
46 |
*ptr = '\0'; |
47 |
@@ -891,6 +893,7 @@ |
48 |
printf("PDEPEND : %s\n", cache->PDEPEND); |
49 |
printf("PROVIDE : %s\n", cache->PROVIDE); |
50 |
printf("EAPI : %s\n", cache->EAPI); |
51 |
+ printf("PROPERTIES : %s\n", cache->PROPERTIES); |
52 |
if (!cache->atom) return; |
53 |
printf("CATEGORY : %s\n", cache->atom->CATEGORY); |
54 |
printf("PN : %s\n", cache->atom->PN); |