pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/exim3 catch up with statvfs on NetBSD 2.0D.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/41153ec65520
branches:  trunk
changeset: 475784:41153ec65520
user:      grant <grant%pkgsrc.org@localhost>
date:      Wed May 26 09:57:20 2004 +0000

description:
catch up with statvfs on NetBSD 2.0D.

diffstat:

 mail/exim3/distinfo         |   3 ++-
 mail/exim3/patches/patch-ah |  20 ++++++++++++++++++++
 2 files changed, 22 insertions(+), 1 deletions(-)

diffs (38 lines):

diff -r ec16f32df16b -r 41153ec65520 mail/exim3/distinfo
--- a/mail/exim3/distinfo       Wed May 26 09:42:53 2004 +0000
+++ b/mail/exim3/distinfo       Wed May 26 09:57:20 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2004/05/07 17:47:32 abs Exp $
+$NetBSD: distinfo,v 1.4 2004/05/26 09:57:20 grant Exp $
 
 SHA1 (exim-3.36.tar.bz2) = 2a06a2858ebf8cdedf2e41fa3f258b5e468e270d
 Size (exim-3.36.tar.bz2) = 982104 bytes
@@ -9,3 +9,4 @@
 SHA1 (patch-ae) = 0a01f3cfd2bfe59577edcb09b0f2f355185e28f0
 SHA1 (patch-af) = bb171d4048ab3f802243dfec1aade86c0a7e0d21
 SHA1 (patch-ag) = 9248e3fde82fed7a464c28f3335d4c419c038a03
+SHA1 (patch-ah) = 876541c725366a70c573dc338dad2b450005bbfe
diff -r ec16f32df16b -r 41153ec65520 mail/exim3/patches/patch-ah
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/exim3/patches/patch-ah       Wed May 26 09:57:20 2004 +0000
@@ -0,0 +1,20 @@
+$NetBSD: patch-ah,v 1.1 2004/05/26 09:57:20 grant Exp $
+
+--- OS/os.h-NetBSD.orig        2002-04-04 22:56:14.000000000 +1000
++++ OS/os.h-NetBSD
+@@ -10,4 +10,15 @@ typedef struct flock flock_t;
+ #define os_strsignal strsignal
+ #define OS_STRSIGNAL
+ 
++#include <sys/param.h>
++
++#if __NetBSD_Version__ >= 200040000
++/* NetBSD 2.0D switched to statvfs() */
++#  include <sys/statvfs.h>
++#  define statfs statvfs
++#else
++/* before NetBSD 2.0D */
++#  include <sys/mount.h>
++#endif
++
+ /* End */



Home | Main Index | Thread Index | Old Index