diff options
author | minskim <minskim> | 2004-05-04 19:59:06 +0000 |
---|---|---|
committer | minskim <minskim> | 2004-05-04 19:59:06 +0000 |
commit | af14dc68e563b9f2a66f79de7de40644eef47680 (patch) | |
tree | e9f8c80a2067f1195514aed71f4b945b88e8473b /mail/postfix/patches | |
parent | 2864f57721a66a2e9e08fe61ca2a940548fb7b5c (diff) | |
download | pkgsrc-af14dc68e563b9f2a66f79de7de40644eef47680.tar.gz |
statvfs fix for postfix and postfix-current on NetBSD-current>=2.0D.
Patch provided by John R. Shannon in PR pkg/25430.
Diffstat (limited to 'mail/postfix/patches')
-rw-r--r-- | mail/postfix/patches/patch-ag | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/mail/postfix/patches/patch-ag b/mail/postfix/patches/patch-ag new file mode 100644 index 00000000000..78d14bc76e9 --- /dev/null +++ b/mail/postfix/patches/patch-ag @@ -0,0 +1,18 @@ +$NetBSD: patch-ag,v 1.11 2004/05/04 19:59:06 minskim Exp $ + +--- src/util/sys_defs.h.orig 2003-11-05 14:17:37.000000000 -0600 ++++ src/util/sys_defs.h +@@ -48,8 +48,13 @@ + #endif + #define GETTIMEOFDAY(t) gettimeofday(t,(struct timezone *) 0) + #define ROOT_PATH "/bin:/usr/bin:/sbin:/usr/sbin" ++#if (defined(__NetBSD__) && __NetBSD_Version__ >= 200040000) /* NetBSD 2.0D */ ++#define USE_STATVFS ++#define STATVFS_IN_SYS_STATVFS_H ++#else + #define USE_STATFS + #define STATFS_IN_SYS_MOUNT_H ++#endif + #define HAS_POSIX_REGEXP + #define HAS_ST_GEN /* struct stat contains inode generation number */ + #define NATIVE_SENDMAIL_PATH "/usr/sbin/sendmail" |