freebsd-ports/mail/xmailwatcher/files/patch-aa
SADA Kenji 1288d2ff34 Import of new port skeleton: mail/xmailwatcher.
From pkg-descr:

This is XMAILWATCHER, which periodically checks a user's mailbox. If
there is mail, the user is notified either by a changing icon, or by a
list of senders and subjects in an X object.

PR:	ports/25438
Submitted by:	Harry Newton <harry_newton@telinco.co.uk>
2001-03-09 22:31:33 +00:00

20 lines
459 B
Text

--- box.c.orig Sat Feb 3 18:13:00 2001
+++ box.c Sat Feb 3 18:13:50 2001
@@ -31,7 +31,7 @@
#include <unistd.h>
#include <sys/stat.h>
#include <sys/types.h>
-#include <sys/dir.h>
+#include <dirent.h>
#include <X11/Xos.h>
/* MIME processing */
@@ -235,7 +235,7 @@
int n, i, tally;
char oneFrom[160];
char *pos;
- char filename[PATH_MAX];
+ char filename[FILENAME_MAX];
if (flags & BOX_DEBUG) (void) printf("MHparseMailbox(%s)\n", mailbox);