Accepting request 109835 from home:dimstar:gcc47
Fix build with gcc 4.7 - Please work with upstream to resolve it in upstream code base. There is also a chance that a newer version of the package might have this fixed already. OBS-URL: https://build.opensuse.org/request/show/109835 OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=60
This commit is contained in:
parent
b63eec4739
commit
59675fea51
12
clamav-gcc47.patch
Normal file
12
clamav-gcc47.patch
Normal file
@ -0,0 +1,12 @@
|
||||
Index: clamav-0.97.3/libclamav/c++/llvm/lib/ExecutionEngine/JIT/Intercept.cpp
|
||||
===================================================================
|
||||
--- clamav-0.97.3.orig/libclamav/c++/llvm/lib/ExecutionEngine/JIT/Intercept.cpp
|
||||
+++ clamav-0.97.3/libclamav/c++/llvm/lib/ExecutionEngine/JIT/Intercept.cpp
|
||||
@@ -15,6 +15,7 @@
|
||||
//
|
||||
//===----------------------------------------------------------------------===//
|
||||
|
||||
+#include <unistd.h>
|
||||
#include "JIT.h"
|
||||
#include "llvm/Support/ErrorHandling.h"
|
||||
#include "llvm/System/DynamicLibrary.h"
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 17 19:36:17 UTC 2012 - dimstar@opensuse.org
|
||||
|
||||
- Add clamav-gcc47.patch: Fix build with gcc 4.7.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Mar 17 14:18:48 UTC 2012 - toganm@opensuse.org
|
||||
|
||||
|
@ -61,6 +61,7 @@ Source4: clamav-rpmlintrc
|
||||
Source5: clamav-rcmilter
|
||||
Patch1: clamav-conf.patch
|
||||
Patch2: clamav-sles9.patch
|
||||
Patch3: clamav-gcc47.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
|
||||
%description
|
||||
@ -129,6 +130,7 @@ Authors:
|
||||
# SLES9's libmilter doesn't have smfi_insheader()
|
||||
%patch2
|
||||
%endif
|
||||
%patch3 -p1
|
||||
|
||||
%build
|
||||
%if 0%{?suse_version} >= 1010
|
||||
|
Loading…
Reference in New Issue
Block a user