pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/mail statvfs fix for postfix and postfix-current on Ne...
details: https://anonhg.NetBSD.org/pkgsrc/rev/79451e672296
branches: trunk
changeset: 474729:79451e672296
user: minskim <minskim%pkgsrc.org@localhost>
date: Tue May 04 19:59:06 2004 +0000
description:
statvfs fix for postfix and postfix-current on NetBSD-current>=2.0D.
Patch provided by John R. Shannon in PR pkg/25430.
diffstat:
mail/postfix-current/distinfo | 3 ++-
mail/postfix-current/patches/patch-ag | 18 ++++++++++++++++++
mail/postfix/distinfo | 3 ++-
mail/postfix/patches/patch-ag | 18 ++++++++++++++++++
4 files changed, 40 insertions(+), 2 deletions(-)
diffs (78 lines):
diff -r 50d34e017ea4 -r 79451e672296 mail/postfix-current/distinfo
--- a/mail/postfix-current/distinfo Tue May 04 19:04:20 2004 +0000
+++ b/mail/postfix-current/distinfo Tue May 04 19:59:06 2004 +0000
@@ -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-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 -r 50d34e017ea4 -r 79451e672296 mail/postfix-current/patches/patch-ag
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/postfix-current/patches/patch-ag Tue May 04 19:59:06 2004 +0000
@@ -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 -r 50d34e017ea4 -r 79451e672296 mail/postfix/distinfo
--- a/mail/postfix/distinfo Tue May 04 19:04:20 2004 +0000
+++ b/mail/postfix/distinfo Tue May 04 19:59:06 2004 +0000
@@ -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-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 -r 50d34e017ea4 -r 79451e672296 mail/postfix/patches/patch-ag
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/postfix/patches/patch-ag Tue May 04 19:59:06 2004 +0000
@@ -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"
Home |
Main Index |
Thread Index |
Old Index