From: | "Bernard Cafarelli (voyageur)" <voyageur@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-devel/llvm/files: llvm-2.9-gcc4.7.patch |
Date: | Fri, 30 Nov 2012 16:07:49 |
Message-Id: | 20121130160729.ABB5420C9F@flycatcher.gentoo.org |
1 | voyageur 12/11/30 16:07:29 |
2 | |
3 | Added: llvm-2.9-gcc4.7.patch |
4 | Log: |
5 | Fix compilation with gcc 4.7, reported by José Romildo Malaquias in bug #444550 |
6 | |
7 | (Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key C74525F2) |
8 | |
9 | Revision Changes Path |
10 | 1.1 sys-devel/llvm/files/llvm-2.9-gcc4.7.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/files/llvm-2.9-gcc4.7.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/files/llvm-2.9-gcc4.7.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: llvm-2.9-gcc4.7.patch |
16 | =================================================================== |
17 | --- |
18 | Intercept.cpp | 1 + |
19 | 1 file changed, 1 insertion(+) |
20 | |
21 | --- a/lib/ExecutionEngine/JIT/Intercept.cpp 2012-05-17 16:11:46.956180361 +0200 |
22 | +++ b/lib/ExecutionEngine/JIT/Intercept.cpp 2012-05-17 16:14:35.256184996 +0200 |
23 | @@ -52,6 +52,7 @@ |
24 | #include <sys/stat.h> |
25 | #endif |
26 | #include <fcntl.h> |
27 | +#include <unistd.h> |
28 | /* stat functions are redirecting to __xstat with a version number. On x86-64 |
29 | * linking with libc_nonshared.a and -Wl,--export-dynamic doesn't make 'stat' |
30 | * available as an exported symbol, so we have to add it explicitly. |