summaryrefslogtreecommitdiff
path: root/mail/cucipop/patches/patch-aa
blob: 8733faa350432ecb0f3ae89925faa7927264152a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$NetBSD: patch-aa,v 1.2 1998/08/07 11:09:31 agc Exp $

--- authenticate.c.orig	Wed May 13 17:57:39 1998
+++ authenticate.c	Tue Jul 21 11:04:20 1998
@@ -22,7 +22,10 @@
 #else
 #include "config.h"
 
+#include <sys/param.h>
+#if !(defined(BSD) && BSD >= 199306)
 #define _XOPEN_SOURCE
+#endif
 
 #include <sys/types.h>
 #include <unistd.h>
@@ -44,7 +47,7 @@
 #define VIRTUALUSER	"vpop"
 
 #ifndef MAILSPOOLDIR
-#define MAILSPOOLDIR	"/var/spool/mail/"	     /* watch the trailing / */
+#define MAILSPOOLDIR	"/var/mail/"	     /* watch the trailing / */
 #endif
 #ifndef MAILSPOOLHASH
 #define MAILSPOOLHASH	0      /* 2 would deliver to /var/spool/mail/b/a/bar */