diff options
author | minskim <minskim@pkgsrc.org> | 2004-05-04 19:59:06 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2004-05-04 19:59:06 +0000 |
commit | 7964bdeff33044cc410096c8f332ca4cf64e448a (patch) | |
tree | e9f8c80a2067f1195514aed71f4b945b88e8473b /mail/postfix | |
parent | d75b4263d2ecef90819c53f7ccfefa59eee3e28c (diff) | |
download | pkgsrc-7964bdeff33044cc410096c8f332ca4cf64e448a.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')
-rw-r--r-- | mail/postfix/distinfo | 3 | ||||
-rw-r--r-- | mail/postfix/patches/patch-ag | 18 |
2 files changed, 20 insertions, 1 deletions
diff --git a/mail/postfix/distinfo b/mail/postfix/distinfo index 3860bc707a0..9d9d52e4014 100644 --- a/mail/postfix/distinfo +++ b/mail/postfix/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.61 2004/04/14 12:55:20 minskim Exp $ +$NetBSD: distinfo,v 1.62 2004/05/04 19:59:06 minskim Exp $ SHA1 (postfix/postfix-2.0.19.tar.gz) = 5248f4d0af530260b6715da3a973557ae63df382 Size (postfix/postfix-2.0.19.tar.gz) = 1355184 bytes @@ -12,6 +12,7 @@ SHA1 (patch-ac) = b0d26742fe8496b2fd4729a41fecadc275e71cf2 SHA1 (patch-ad) = 60d98330d4b20508c03bb0bccebbe564ffea621f SHA1 (patch-ae) = 2a118fb905c469f8a2e947c3e91b5d4e82c5bb6e SHA1 (patch-af) = 9b0521751704fd1377d8215dc16a873c1d5ca032 +SHA1 (patch-ag) = 1753a7bfe9929fc3eabc02b07cdcb9fae4e351d2 SHA1 (patch-ah) = 6beedd15ee3a7cfd46cf3ed0b9ee579b9906300b SHA1 (patch-ai) = 475737812dd2025ae52ba9eab7569119d251eed6 SHA1 (patch-ba) = e0ed2e41db1cfaf5d924578e536d809ff8623e2d 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" |