2014-08-25 18:00:54 +02:00
|
|
|
$NetBSD: patch-ag,v 1.35 2014/08/25 16:00:54 taca Exp $
|
2008-09-04 10:25:19 +02:00
|
|
|
|
2014-08-25 18:00:54 +02:00
|
|
|
* Add support for NetBSD 7.
|
|
|
|
* Only define HAS_DB if it hasn't been defined.
|
2006-09-16 17:29:35 +02:00
|
|
|
|
2014-02-09 06:34:13 +01:00
|
|
|
--- src/util/sys_defs.h.orig 2013-09-29 20:51:55.000000000 +0000
|
2010-04-16 17:32:58 +02:00
|
|
|
+++ src/util/sys_defs.h
|
2014-08-25 18:00:54 +02:00
|
|
|
@@ -31,6 +31,7 @@
|
|
|
|
|| defined(OPENBSD5) \
|
|
|
|
|| defined(NETBSD1) || defined(NETBSD2) || defined(NETBSD3) \
|
|
|
|
|| defined(NETBSD4) || defined(NETBSD5) || defined(NETBSD6) \
|
|
|
|
+ || defined(NETBSD7) \
|
|
|
|
|| defined(EKKOBSD1) || defined(DRAGONFLY)
|
|
|
|
#define SUPPORTED
|
|
|
|
#include <sys/types.h>
|
|
|
|
@@ -44,7 +45,9 @@
|
2007-04-03 09:27:50 +02:00
|
|
|
#define DEF_MAILBOX_LOCK "flock, dotlock"
|
2006-08-11 14:34:24 +02:00
|
|
|
#define HAS_SUN_LEN
|
|
|
|
#define HAS_FSYNC
|
|
|
|
+#ifndef HAS_DB
|
|
|
|
#define HAS_DB
|
|
|
|
+#endif
|
|
|
|
#define HAS_SA_LEN
|
2014-02-09 06:34:13 +01:00
|
|
|
#define NATIVE_DB_TYPE "hash"
|
2006-08-11 14:34:24 +02:00
|
|
|
#if (defined(__NetBSD_Version__) && __NetBSD_Version__ >= 104250000)
|
2014-08-25 18:00:54 +02:00
|
|
|
@@ -1265,6 +1268,8 @@ extern int h_errno;
|
|
|
|
#define DEF_SMTP_CACHE_DEMAND 0
|
|
|
|
#endif
|
|
|
|
|
|
|
|
+#define RECEIVED_ENVELOPE_FROM
|
|
|
|
+
|
|
|
|
/*
|
|
|
|
* We're not going to try to guess like configure does.
|
|
|
|
*/
|