703a87c2ab
Based on PR 38262, some portability improvement and ipv6 support optionify. mailx (Heirloom Mailx; formerly nail) is a mail user agent derived from Berkeley Mail 8.1. It is intended to provide the functionality of the POSIX.2 mailx command with built-in support for MIME messages. This means it can handle international character sets as well as attachments. In recent system environments, nail is Unicode/UTF-8 capable. It further contains some minor enhancements like the ability to set a "From:" Address.
20 lines
463 B
Text
20 lines
463 B
Text
$NetBSD: patch-ag,v 1.1.1.1 2008/10/30 13:01:00 obache Exp $
|
|
|
|
--- v7.local.c.orig 2006-03-04 00:01:19.000000000 +0000
|
|
+++ v7.local.c
|
|
@@ -56,6 +56,15 @@ static char sccsid[] = "@(#)v7.local.c 2
|
|
#include <fcntl.h>
|
|
#include <unistd.h>
|
|
|
|
+#ifdef HAVE_PATHS_H
|
|
+#include <paths.h>
|
|
+#endif
|
|
+
|
|
+#ifdef _PATH_MAILDIR
|
|
+#undef MAILSPOOL
|
|
+#define MAILSPOOL _PATH_MAILDIR
|
|
+#endif
|
|
+
|
|
/*
|
|
* Locate the user's mailbox file (ie, the place where new, unread
|
|
* mail is queued).
|