blob: 61794d1eb4396d9696cfaeeaf1f4ea7abd22e4c6 (
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
$NetBSD: patch-ag,v 1.42 2022/07/21 15:08:39 taca Exp $
* Add common support for NetBSD.
* Only define HAS_DB if it hasn't been defined.
* Add support for FreeBSD 11 and 12.
--- src/util/sys_defs.h.orig 2021-12-05 18:59:27.000000000 +0000
+++ src/util/sys_defs.h
@@ -35,10 +35,7 @@
|| defined(BSDI2) || defined(BSDI3) || defined(BSDI4) \
|| defined(OPENBSD2) || defined(OPENBSD3) || defined(OPENBSD4) \
|| defined(OPENBSD5) || defined(OPENBSD6) || defined(OPENBSD7) \
- || defined(NETBSD1) || defined(NETBSD2) || defined(NETBSD3) \
- || defined(NETBSD4) || defined(NETBSD5) || defined(NETBSD6) \
- || defined(NETBSD7) | defined(NETBSD8) || defined(NETBSD9) \
- || defined(NETBSD10) \
+ || defined(NETBSD) \
|| defined(EKKOBSD1) || defined(DRAGONFLY)
#define SUPPORTED
#include <sys/param.h>
@@ -51,7 +48,9 @@
#define DEF_MAILBOX_LOCK "flock, dotlock"
#define HAS_SUN_LEN
#define HAS_FSYNC
+#ifndef HAS_DB
#define HAS_DB
+#endif
#define HAS_SA_LEN
#define NATIVE_DB_TYPE "hash"
#if (defined(__NetBSD_Version__) && __NetBSD_Version__ >= 104250000)
@@ -1257,6 +1256,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.
*/
|