From: | "Tim Harder (radhermit)" <radhermit@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-antivirus/clamav/files: clamav-0.97.4-gcc47.patch |
Date: | Thu, 31 May 2012 15:45:09 |
Message-Id: | 20120531154459.337682004C@flycatcher.gentoo.org |
1 | radhermit 12/05/31 15:44:59 |
2 | |
3 | Added: clamav-0.97.4-gcc47.patch |
4 | Log: |
5 | Fix build with gcc-4.7 (bug #412349 by Alphat-PC). |
6 | |
7 | (Portage version: 2.2.0_alpha108/cvs/Linux x86_64) |
8 | |
9 | Revision Changes Path |
10 | 1.1 app-antivirus/clamav/files/clamav-0.97.4-gcc47.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-antivirus/clamav/files/clamav-0.97.4-gcc47.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-antivirus/clamav/files/clamav-0.97.4-gcc47.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: clamav-0.97.4-gcc47.patch |
16 | =================================================================== |
17 | From bb8ab5ce7ea4e276c310f5a638cd61c0cceb47d1 Mon Sep 17 00:00:00 2001 |
18 | From: =?UTF-8?q?T=C3=B6r=C3=B6k=20Edvin?= <edwin@××××××.net> |
19 | Date: Mon, 14 May 2012 20:13:21 +0300 |
20 | Subject: [PATCH] Fix build with gcc-4.7 |
21 | |
22 | --- |
23 | .../c++/llvm/lib/ExecutionEngine/JIT/Intercept.cpp | 1 + |
24 | 1 files changed, 1 insertions(+), 0 deletions(-) |
25 | |
26 | diff --git a/libclamav/c++/llvm/lib/ExecutionEngine/JIT/Intercept.cpp b/libclamav/c++/llvm/lib/ExecutionEngine/JIT/Intercept.cpp |
27 | index 274f816..a4e7eee 100644 |
28 | --- a/libclamav/c++/llvm/lib/ExecutionEngine/JIT/Intercept.cpp |
29 | +++ b/libclamav/c++/llvm/lib/ExecutionEngine/JIT/Intercept.cpp |
30 | @@ -19,6 +19,7 @@ |
31 | #include "llvm/Support/ErrorHandling.h" |
32 | #include "llvm/System/DynamicLibrary.h" |
33 | #include "llvm/Config/config.h" |
34 | +#include <unistd.h> |
35 | using namespace llvm; |
36 | |
37 | // AtExitHandlers - List of functions to call when the program exits, |
38 | -- |
39 | 1.7.8.6 |