aboutsummaryrefslogtreecommitdiff
path: root/system/clamav/gcc47.patch
diff options
context:
space:
mode:
Diffstat (limited to 'system/clamav/gcc47.patch')
-rw-r--r--system/clamav/gcc47.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/system/clamav/gcc47.patch b/system/clamav/gcc47.patch
new file mode 100644
index 0000000000000..96c5af0a7610c
--- /dev/null
+++ b/system/clamav/gcc47.patch
@@ -0,0 +1,11 @@
+diff -Naur clamav-0.97.4.orig/libclamav/c++/llvm/lib/ExecutionEngine/JIT/Intercept.cpp clamav-0.97.4/libclamav/c++/llvm/lib/ExecutionEngine/JIT/Intercept.cpp
+--- clamav-0.97.4.orig/libclamav/c++/llvm/lib/ExecutionEngine/JIT/Intercept.cpp 2012-03-06 17:31:31.000000000 +0100
++++ clamav-0.97.4/libclamav/c++/llvm/lib/ExecutionEngine/JIT/Intercept.cpp 2012-04-02 15:21:58.172989384 +0200
+@@ -15,6 +15,7 @@
+ //
+ //===----------------------------------------------------------------------===//
+
++#include "unistd.h"
+ #include "JIT.h"
+ #include "llvm/Support/ErrorHandling.h"
+ #include "llvm/System/DynamicLibrary.h"