From ab126c170e34e8e9419dab88b0f3dc015b58a1720a728ff2ea5e9051686ca74f Mon Sep 17 00:00:00 2001 From: Reinhard Max Date: Wed, 23 Apr 2014 11:33:39 +0000 Subject: [PATCH] Accepting request 231142 from devel:ARM:Factory - do not disable security checks in configure. That would be insecure - use DFP_64bit also for aarch64 OBS-URL: https://build.opensuse.org/request/show/231142 OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=97 --- clamav.changes | 7 +++++++ clamav.spec | 4 +++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/clamav.changes b/clamav.changes index e883186..145c2a2 100644 --- a/clamav.changes +++ b/clamav.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Wed Apr 23 10:59:43 UTC 2014 - dmueller@suse.com + +- do not disable security checks in configure. That would be + insecure +- use DFP_64bit also for aarch64 + ------------------------------------------------------------------- Thu Mar 13 15:41:18 UTC 2014 - boris@steki.net diff --git a/clamav.spec b/clamav.spec index 263a9de..bf1724a 100644 --- a/clamav.spec +++ b/clamav.spec @@ -107,7 +107,7 @@ export CXXFLAGS="%optflags $CXXFLAGS" # SLES9 needs this macro to enable the quarantine feature in libmilter CFLAGS="$CFLAGS -D_FFR_QUARANTINE -D_FFR_SMFI_OPENSOCKET" %endif -%ifarch ppc64 ppc64le +%if "%_lib" == "lib64" # tomsfastmath needs this for correct operation on 64-bit platforms CFLAGS="$CFLAGS -DFP_64BIT" %endif @@ -124,7 +124,9 @@ CFLAGS="$CFLAGS -DFP_64BIT" --enable-milter \ %clamav_check \ %llvm \ +%if 0%{?suse_version} == 0910 --disable-zlib-vcheck \ +%endif --enable-clamdtop \ --disable-timestamps