summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorMasafumi Max NAKANE <max@FreeBSD.org>2006-05-08 06:47:04 +0000
committerMasafumi Max NAKANE <max@FreeBSD.org>2006-05-08 06:47:04 +0000
commit8d22c09f604d4f74b08d8638cf542ba8c9aef019 (patch)
tree4fd3e65f2a274ee8f5726ca2b8bfa8d7886c6cb6 /mail
parentAdd a patch to fix an infinite loop with the filter program on AMD64. (diff)
Oops, forgot to add this patch file before committing ports/mail/mailagent/Makefile Rev 1.39.
This patch fixes an infinite loop with the filter on AMD64. Submitted by: Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp> PR: 94585
Notes
Notes: svn path=/head/; revision=161677
Diffstat (limited to 'mail')
-rw-r--r--mail/mailagent/files/patch-agent::filter::logfile.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/mail/mailagent/files/patch-agent::filter::logfile.c b/mail/mailagent/files/patch-agent::filter::logfile.c
new file mode 100644
index 000000000000..60a0bcbc130a
--- /dev/null
+++ b/mail/mailagent/files/patch-agent::filter::logfile.c
@@ -0,0 +1,15 @@
+--- agent/filter/logfile.c.orig Fri Mar 17 12:59:44 2006
++++ agent/filter/logfile.c Fri Mar 17 13:02:25 2006
+@@ -47,6 +47,12 @@
+ #include <stdio.h>
+ #include <sys/types.h>
+
++#ifdef I_STRING
++#include <string.h>
++#else
++#include <strings.h>
++#endif
++
+ #ifdef I_TIME
+ # include <time.h>
+ #endif