diff options
author | Tim Harder <radhermit@gentoo.org> | 2012-05-31 15:44:59 +0000 |
---|---|---|
committer | Tim Harder <radhermit@gentoo.org> | 2012-05-31 15:44:59 +0000 |
commit | 16f136f2216a08db7db711429fd8aca15fe38ef6 (patch) | |
tree | f1212357fdb332d2b4df36f2d04b4dc456381f8f /app-antivirus/clamav/files | |
parent | Version bump (diff) | |
download | gentoo-2-16f136f2216a08db7db711429fd8aca15fe38ef6.tar.gz gentoo-2-16f136f2216a08db7db711429fd8aca15fe38ef6.tar.bz2 gentoo-2-16f136f2216a08db7db711429fd8aca15fe38ef6.zip |
Fix build with gcc-4.7 (bug #412349 by Alphat-PC).
(Portage version: 2.2.0_alpha108/cvs/Linux x86_64)
Diffstat (limited to 'app-antivirus/clamav/files')
-rw-r--r-- | app-antivirus/clamav/files/clamav-0.97.4-gcc47.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/app-antivirus/clamav/files/clamav-0.97.4-gcc47.patch b/app-antivirus/clamav/files/clamav-0.97.4-gcc47.patch new file mode 100644 index 000000000000..d5cbf2eb8f9f --- /dev/null +++ b/app-antivirus/clamav/files/clamav-0.97.4-gcc47.patch @@ -0,0 +1,24 @@ +From bb8ab5ce7ea4e276c310f5a638cd61c0cceb47d1 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?T=C3=B6r=C3=B6k=20Edvin?= <edwin@clamav.net> +Date: Mon, 14 May 2012 20:13:21 +0300 +Subject: [PATCH] Fix build with gcc-4.7 + +--- + .../c++/llvm/lib/ExecutionEngine/JIT/Intercept.cpp | 1 + + 1 files changed, 1 insertions(+), 0 deletions(-) + +diff --git a/libclamav/c++/llvm/lib/ExecutionEngine/JIT/Intercept.cpp b/libclamav/c++/llvm/lib/ExecutionEngine/JIT/Intercept.cpp +index 274f816..a4e7eee 100644 +--- a/libclamav/c++/llvm/lib/ExecutionEngine/JIT/Intercept.cpp ++++ b/libclamav/c++/llvm/lib/ExecutionEngine/JIT/Intercept.cpp +@@ -19,6 +19,7 @@ + #include "llvm/Support/ErrorHandling.h" + #include "llvm/System/DynamicLibrary.h" + #include "llvm/Config/config.h" ++#include <unistd.h> + using namespace llvm; + + // AtExitHandlers - List of functions to call when the program exits, +-- +1.7.8.6 + |