summaryrefslogtreecommitdiff
path: root/sys-devel/llvm/files/llvm-2.9-gcc4.7.patch
diff options
context:
space:
mode:
authorGluzskiy Alexandr <sss123next@list.ru>2015-05-22 13:06:53 +0300
committerGluzskiy Alexandr <sss123next@list.ru>2015-05-22 13:06:53 +0300
commit11c9581a4a381cf91d76eb918e5c8520dc5e7258 (patch)
treee70c8ac65979e140f510d087fe61c612046a0684 /sys-devel/llvm/files/llvm-2.9-gcc4.7.patch
parent65f821697d752257198b9dc0b9e89ad926cf5f4e (diff)
llvm copy from gentoo repo
Diffstat (limited to 'sys-devel/llvm/files/llvm-2.9-gcc4.7.patch')
-rw-r--r--sys-devel/llvm/files/llvm-2.9-gcc4.7.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/sys-devel/llvm/files/llvm-2.9-gcc4.7.patch b/sys-devel/llvm/files/llvm-2.9-gcc4.7.patch
new file mode 100644
index 0000000..a48ad96
--- /dev/null
+++ b/sys-devel/llvm/files/llvm-2.9-gcc4.7.patch
@@ -0,0 +1,14 @@
+---
+ Intercept.cpp | 1 +
+ 1 file changed, 1 insertion(+)
+
+--- a/lib/ExecutionEngine/JIT/Intercept.cpp 2012-05-17 16:11:46.956180361 +0200
++++ b/lib/ExecutionEngine/JIT/Intercept.cpp 2012-05-17 16:14:35.256184996 +0200
+@@ -52,6 +52,7 @@
+ #include <sys/stat.h>
+ #endif
+ #include <fcntl.h>
++#include <unistd.h>
+ /* stat functions are redirecting to __xstat with a version number. On x86-64
+ * linking with libc_nonshared.a and -Wl,--export-dynamic doesn't make 'stat'
+ * available as an exported symbol, so we have to add it explicitly.