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 | 5d39e90b28b3c434d31fbce4eb48986d70a8c64b (patch) | |
tree | e9f8c80a2067f1195514aed71f4b945b88e8473b /mail | |
parent | fb5ef7833a31c484c04404549c7a606c1ee1660f (diff) | |
download | pkgsrc-5d39e90b28b3c434d31fbce4eb48986d70a8c64b.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')
-rw-r--r-- | mail/postfix-current/distinfo | 3 | ||||
-rw-r--r-- | mail/postfix-current/patches/patch-ag | 18 | ||||
-rw-r--r-- | mail/postfix/distinfo | 3 | ||||
-rw-r--r-- | mail/postfix/patches/patch-ag | 18 |
4 files changed, 40 insertions, 2 deletions
diff --git a/mail/postfix-current/distinfo b/mail/postfix-current/distinfo index 9b47c68b8a2..50c5b62f705 100644 --- a/mail/postfix-current/distinfo +++ b/mail/postfix-current/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.4 2004/04/20 17:50:40 taca Exp $ +$NetBSD: distinfo,v 1.5 2004/05/04 19:59:06 minskim Exp $ SHA1 (postfix/postfix-2.0.19-20040312.tar.gz) = 68ade8c704c3c54ad6465d695ff9b8f0230e8758 Size (postfix/postfix-2.0.19-20040312.tar.gz) = 1531471 bytes @@ -10,6 +10,7 @@ SHA1 (patch-ac) = b0d26742fe8496b2fd4729a41fecadc275e71cf2 SHA1 (patch-ad) = 60d98330d4b20508c03bb0bccebbe564ffea621f SHA1 (patch-ae) = 9ea314db37541a1a9c7765e000687c0fdef90d8e SHA1 (patch-af) = 9b0521751704fd1377d8215dc16a873c1d5ca032 +SHA1 (patch-ag) = 23f24d535d1f3922f396ce05953dc197dd390bee SHA1 (patch-ah) = 6beedd15ee3a7cfd46cf3ed0b9ee579b9906300b SHA1 (patch-ai) = eb9406c02f91d20201ebdcdc8bfadab506a1174f SHA1 (patch-bd) = 652b96357164208e39d322e84ee9a2ad2bd4ccc4 diff --git a/mail/postfix-current/patches/patch-ag b/mail/postfix-current/patches/patch-ag new file mode 100644 index 00000000000..8532bd6c3fe --- /dev/null +++ b/mail/postfix-current/patches/patch-ag @@ -0,0 +1,18 @@ +$NetBSD: patch-ag,v 1.3 2004/05/04 19:59:06 minskim Exp $ + +--- src/util/sys_defs.h.orig 2004-01-04 15:49:15.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" 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" |