Fix compilation after data structures have changed (without any notice

in any documentation...)

ok landry (the maintainer)
This commit is contained in:
mbalmer 2008-04-21 20:11:48 +00:00
parent 4308db7caa
commit 57bc13b907
2 changed files with 13 additions and 2 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.1.1.1 2008/02/13 13:25:50 landry Exp $
# $OpenBSD: Makefile,v 1.2 2008/04/21 20:11:48 mbalmer Exp $
SHARED_ONLY= Yes
@ -6,7 +6,7 @@ COMMENT= clamav plugin for Claws Mail
VERSION= 3.3
DISTNAME= clamav-${VERSION}
PKGNAME= claws-mail-clamav-${VERSION}
PKGNAME= claws-mail-clamav-${VERSION}p0
MASTER_SITES= http://www.claws-mail.org/downloads/plugins/
CATEGORIES= mail

View File

@ -0,0 +1,11 @@
$OpenBSD: patch-src_clamav_plugin_c,v 1.1 2008/04/21 20:11:48 mbalmer Exp $
--- src/clamav_plugin.c.orig Mon Apr 21 20:02:43 2008
+++ src/clamav_plugin.c Mon Apr 21 20:03:15 2008
@@ -149,7 +149,6 @@ static gboolean mail_filtering_hook(gpointer source, g
params.limits.maxfiles = 1000; /* max files */
params.limits.maxfilesize = config.clamav_max_size * 1048576; /* maximum archived file size */
params.limits.maxreclevel = 8; /* maximum recursion level */
- params.limits.maxratio = 200; /* maximal compression ratio */
if (config.clamav_enable_arc)
params.scan_archive = TRUE;