summaryrefslogtreecommitdiff
path: root/mail/cclient-maildir/files/patch-aa
diff options
context:
space:
mode:
authorKelly Yancey <kbyanc@FreeBSD.org>2000-08-14 07:49:03 +0000
committerKelly Yancey <kbyanc@FreeBSD.org>2000-08-14 07:49:03 +0000
commitc64128b31ac5b687a105d6ce7d15d4a16a50a70b (patch)
treee651e4330d679a4f4a4a2bede0ed358d631b7b89 /mail/cclient-maildir/files/patch-aa
parentAdd ruby-uri, Ruby interface to parse URIs according to RFC 2396. (diff)
New port: cclient built with third-party maildir support. Cclient is used
by UW's pine and imapd software to access mailboxes. This port complements the existing cclient port by building a version that includes support for qmail's maildir mailbox format. PR: 19691
Notes
Notes: svn path=/head/; revision=31639
Diffstat (limited to 'mail/cclient-maildir/files/patch-aa')
-rw-r--r--mail/cclient-maildir/files/patch-aa21
1 files changed, 21 insertions, 0 deletions
diff --git a/mail/cclient-maildir/files/patch-aa b/mail/cclient-maildir/files/patch-aa
new file mode 100644
index 000000000000..4615f235b3fb
--- /dev/null
+++ b/mail/cclient-maildir/files/patch-aa
@@ -0,0 +1,21 @@
+--- src/osdep/unix/os_bsi.h.orig Sat Oct 19 20:30:04 1996
++++ src/osdep/unix/os_bsi.h Sun May 24 10:46:33 1998
+@@ -37,7 +37,18 @@
+ #include <unistd.h>
+ #include <string.h>
+ #include <sys/types.h>
++
++/*
++ * FreeBSD v3.x and onward whines about <sys/dir.h> being obsolete, so switch
++ * to POSIX semantics.
++ */
++#if __FreeBSD__ >= 3
++#include <dirent.h>
++#define direct dirent
++#else
+ #include <sys/dir.h>
++#endif
++
+ #include <fcntl.h>
+ #include <syslog.h>
+ #include <sys/file.h>