aboutsummaryrefslogtreecommitdiffstats
path: root/security
diff options
context:
space:
mode:
Diffstat (limited to 'security')
-rw-r--r--security/klamav/Makefile3
-rw-r--r--security/klamav/files/patch-src_klammail_clamdmail.c11
2 files changed, 12 insertions, 2 deletions
diff --git a/security/klamav/Makefile b/security/klamav/Makefile
index 755ff025ad78..080a18ddecb9 100644
--- a/security/klamav/Makefile
+++ b/security/klamav/Makefile
@@ -7,6 +7,7 @@
PORTNAME= klamav
PORTVERSION= 0.44
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= SF
DISTNAME= ${PORTNAME}-${PORTVERSION}-source
@@ -36,8 +37,6 @@ CONFIGURE_ARGS+=--with-qt-dir=${QT_PREFIX} \
USE_KDELIBS_VER= 3
-BROKEN= Doesn't build with clamav-0.94
-
.include <bsd.port.pre.mk>
pre-configure:
diff --git a/security/klamav/files/patch-src_klammail_clamdmail.c b/security/klamav/files/patch-src_klammail_clamdmail.c
new file mode 100644
index 000000000000..77a6257aa95b
--- /dev/null
+++ b/security/klamav/files/patch-src_klammail_clamdmail.c
@@ -0,0 +1,11 @@
+--- src/klammail/clamdmail.c.orig 2008-09-16 08:46:48.000000000 -0300
++++ src/klammail/clamdmail.c 2008-09-16 08:47:25.000000000 -0300
+@@ -160,7 +160,7 @@
+ if(fsync(fd) == -1) {
+ // cli_dbgmsg("fsync() failed for descriptor %d\n", fd);
+ close(fd);
+- return CL_EFSYNC;
++ return CL_EIO;
+ }
+
+ close(fd);