/[gentoo-x86]/dev-util/valgrind/files/valgrind-3.5.0-stat_h.patch
Gentoo

Contents of /dev-util/valgrind/files/valgrind-3.5.0-stat_h.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Thu Aug 19 17:58:17 2010 UTC (3 years, 7 months ago) by ssuominen
Branch: MAIN
Fix building with recent glibc wrt #332871 by Michal Vaner.
(Portage version: 2.2_rc67/cvs/Linux x86_64)

1 http://cvs.fedoraproject.org/viewvc/rpms/valgrind/devel/valgrind-3.5.0-stat_h.patch?view=log
2
3 --- include/vki/vki-amd64-linux.h
4 +++ include/vki/vki-amd64-linux.h
5 @@ -310,6 +310,9 @@ struct vki_stat {
6 long st_blksize;
7 long st_blocks; /* Number 512-byte blocks allocated. */
8
9 +#undef st_atime
10 +#undef st_mtime
11 +#undef st_ctime
12 unsigned long st_atime;
13 unsigned long st_atime_nsec;
14 unsigned long st_mtime;
15 --- include/vki/vki-x86-linux.h
16 +++ include/vki/vki-x86-linux.h
17 @@ -348,6 +348,9 @@ struct vki_stat {
18 unsigned long st_size;
19 unsigned long st_blksize;
20 unsigned long st_blocks;
21 +#undef st_atime
22 +#undef st_mtime
23 +#undef st_ctime
24 unsigned long st_atime;
25 unsigned long st_atime_nsec;
26 unsigned long st_mtime;
27 --- include/vki/vki-ppc32-linux.h
28 +++ include/vki/vki-ppc32-linux.h
29 @@ -392,6 +392,9 @@ struct vki_stat {
30 long st_size;
31 unsigned long st_blksize;
32 unsigned long st_blocks;
33 +#undef st_atime
34 +#undef st_mtime
35 +#undef st_ctime
36 unsigned long st_atime;
37 unsigned long st_atime_nsec;
38 unsigned long st_mtime;
39 --- include/vki/vki-ppc64-linux.h
40 +++ include/vki/vki-ppc64-linux.h
41 @@ -428,6 +428,9 @@ struct vki_stat {
42 long st_size;
43 unsigned long st_blksize;
44 unsigned long st_blocks;
45 +#undef st_atime
46 +#undef st_mtime
47 +#undef st_ctime
48 unsigned long st_atime;
49 unsigned long st_atime_nsec;
50 unsigned long st_mtime;

  ViewVC Help
Powered by ViewVC 1.1.20