Gentoo Archives: gentoo-commits

From: Mike Frysinger <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gcc-config:master commit in: /
Date: Wed, 22 May 2013 23:54:33
Message-Id: 1369266829.2b41e23eaf727bdba8574f805d80916beff8621e.vapier@gentoo
1 commit: 2b41e23eaf727bdba8574f805d80916beff8621e
2 Author: Mike Frysinger <vapier <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 22 23:48:24 2013 +0000
4 Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org>
5 CommitDate: Wed May 22 23:53:49 2013 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gcc-config.git;a=commit;h=2b41e23e
7
8 build with 64bit interfaces
9
10 We use stat(), so make sure we use the 64bit versions, else trying
11 to stat() a file with 64bit inodes will randomly fail on us.
12
13 URL: http://bugs.gentoo.org/471024
14 Signed-off-by: Mike Frysinger <vapier <AT> gentoo.org>
15
16 ---
17 wrapper.c | 4 ++++
18 1 files changed, 4 insertions(+), 0 deletions(-)
19
20 diff --git a/wrapper.c b/wrapper.c
21 index 50c35a4..b00e818 100644
22 --- a/wrapper.c
23 +++ b/wrapper.c
24 @@ -11,6 +11,10 @@
25 # define USE_DEBUG 0
26 #endif
27
28 +#ifndef _FILE_OFFSET_BITS
29 +# define _FILE_OFFSET_BITS 64 /* #471024 */
30 +#endif
31 +
32 #include <errno.h>
33 #include <libgen.h>
34 #include <limits.h>