freebsd-ports/mail/p3scan/files/patch-scanner_basic.c
Edwin Groothuis 47846c1bfe mail/p3scan is a fork of mail/pop3vscan, a transparent POP3 virusscanner
P3Scan is a transparent POP3-Proxy with virus-scanning
	capabilities.  This means that all your POP3-Clients in the
	Network can't fetch mails from the internet without that
	P3Scan have scanned it. If a virus has been found the mail
	is replaced with a notification and the original (infeceted)
	version is stored on the harddisc. Transparent means, that
	neither the client nor any of the used POP3-servers has to
	be configured.

	This port is based on mail/pop3vscan, but the development
	for that port seems to have ceased.

	WWW: http://p3scan.sourceforge.net/
2004-02-18 02:00:30 +00:00

13 lines
309 B
C

--- scanner_basic.c.orig Tue Feb 17 21:58:49 2004
+++ scanner_basic.c Tue Feb 17 22:20:28 2004
@@ -34,8 +34,9 @@
#include <string.h>
#include <sys/wait.h>
#include <sys/stat.h>
+#include <netinet/in.h>
#include <errno.h>
-#include <malloc.h>
+#include <stdlib.h>
#include <pcre.h>
#include "p3scan.h"