summaryrefslogtreecommitdiff
path: root/mail/postfix-current/patches/patch-ag
blob: dc6a7dcad86ac6413d8a270139b6a61d1ad9e8f6 (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
$NetBSD: patch-ag,v 1.10 2005/11/12 05:23:17 martti Exp $

--- src/util/sys_defs.h.orig	2005-07-11 23:00:38.000000000 +0300
+++ src/util/sys_defs.h	2005-11-11 06:01:49.000000000 +0200
@@ -52,3 +52,3 @@
 #define ROOT_PATH	"/bin:/usr/bin:/sbin:/usr/sbin"
-#if (defined(__NetBSD_Version__) && __NetBSD_Version__ > 200040000)
+#if (defined(__NetBSD_Version__) && __NetBSD_Version__ > 299000900)
 # define USE_STATVFS
@@ -124,3 +124,3 @@
 
-#if __NetBSD_Version__ >= 200060000	/* 2.0F */
+#if __NetBSD_Version__ >= 299000900	/* 2.99.9 */
 #define HAS_CLOSEFROM
@@ -157,5 +157,11 @@
 #define GETTIMEOFDAY(t) gettimeofday(t,(struct timezone *) 0)
+#define RESOLVE_H_NEEDS_NAMESER8_COMPAT_H
 #define ROOT_PATH	"/bin:/usr/bin:/sbin:/usr/sbin"
+#if (defined(__NetBSD__) && __NetBSD_Version__ >= 299000900) /* NetBSD 2.99.9 */
+#define USE_STATVFS
+#define STATVFS_IN_SYS_STATVFS_H
+#else
 #define USE_STATFS
 #define STATFS_IN_SYS_MOUNT_H
+#endif
 #define HAS_POSIX_REGEXP