diff options
author | Chris Piazza <cpiazza@FreeBSD.org> | 1999-06-26 09:22:50 +0000 |
---|---|---|
committer | Chris Piazza <cpiazza@FreeBSD.org> | 1999-06-26 09:22:50 +0000 |
commit | 6d6a45d6b71acc73e5b45ee570d9e0fd9bb2a8f9 (patch) | |
tree | a79e931e031039255441042a1ed6c9d6cc775a6e /mail/ml/files/patch-ae | |
parent | Update to 1.4.3 (diff) |
Update to ml version 3.4
PR: 12186
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=19794
Diffstat (limited to 'mail/ml/files/patch-ae')
-rw-r--r-- | mail/ml/files/patch-ae | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/mail/ml/files/patch-ae b/mail/ml/files/patch-ae new file mode 100644 index 000000000000..c5d3797740e8 --- /dev/null +++ b/mail/ml/files/patch-ae @@ -0,0 +1,30 @@ +--- ../imap-4/src/osdep/unix/os_bsi.h.orig Mon Mar 30 17:07:22 1998 ++++ ../imap-4/src/osdep/unix/os_bsi.h Sat Jun 26 02:13:22 1999 +@@ -34,13 +34,25 @@ + */ + + #define MAILFILE "/var/mail/%s" +-#define ACTIVEFILE "/usr/lib/news/active" +-#define NEWSSPOOL "/usr/spool/news" ++#define ACTIVEFILE "/usr/local/news/db/active" /* inn-stable port */ ++#define NEWSSPOOL "/var/spool/news" /* inn-stable port */ + + #include <stdlib.h> + #include <string.h> + #include <sys/types.h> ++ ++/* ++ * From ports/mail/imap-uw: ++ * 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 <sys/uio.h> /* needed for writev() prototypes */ + #include <syslog.h> + #include <sys/file.h> |