1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00

- UNBREAK: Fix build with clamav 0.94

- Bump PORTREVISION

PR:		ports/127421
Submitted by:	maintainer
Approved by:	portmgr (pav)
This commit is contained in:
Renato Botelho 2008-09-16 12:11:43 +00:00
parent b408caedbd
commit ba9f2b1d24
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=220404
2 changed files with 12 additions and 2 deletions

View File

@ -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:

View File

@ -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);