]> git.pld-linux.org Git - packages/c-icap-modules.git/blobdiff - clamav0.101.patch
- up to 0.5.5
[packages/c-icap-modules.git] / clamav0.101.patch
index 7492e5e136c9945cf3a8e62d89b026690ccf4f38..117fb4c04f8819ecbc7350d828446d0a4332a84e 100644 (file)
@@ -1,14 +1,14 @@
 --- c_icap_modules-0.5.2/services/virus_scan/clamav_mod.c.orig 2018-09-11 16:25:29.000000000 +0200
 +++ c_icap_modules-0.5.2/services/virus_scan/clamav_mod.c      2018-12-13 23:00:00.909055631 +0100
 @@ -123,7 +123,7 @@
- #ifndef HAVE_LIBCLAMAV_095
- struct cl_limits limits;
- #endif
+ #ifdef HAVE_CL_SCAN_OPTIONS
+ struct cl_scan_options CLAMSCAN_OPTIONS;
+ #else
 -unsigned int CLAMSCAN_OPTIONS = CL_SCAN_STDOPT;
 +unsigned int CLAMSCAN_OPTIONS = CL_DB_STDOPT;
+ #endif
  
  struct virus_db *virusdb = NULL;
- struct virus_db *old_virusdb = NULL;
 @@ -489,7 +489,7 @@
                       CLAMSCAN_OPTIONS);
  #else
This page took 0.06173 seconds and 4 git commands to generate.