diff options
author | grant <grant@pkgsrc.org> | 2004-05-26 09:57:20 +0000 |
---|---|---|
committer | grant <grant@pkgsrc.org> | 2004-05-26 09:57:20 +0000 |
commit | 25225afe390e414ded2484c4f3adfda896aa533e (patch) | |
tree | 346834a43c03c88583df28cffcd93be91fe96bd7 /mail/exim3 | |
parent | fecb4a62dd431dff490914b619a59becf9dc50ba (diff) | |
download | pkgsrc-25225afe390e414ded2484c4f3adfda896aa533e.tar.gz |
catch up with statvfs on NetBSD 2.0D.
Diffstat (limited to 'mail/exim3')
-rw-r--r-- | mail/exim3/distinfo | 3 | ||||
-rw-r--r-- | mail/exim3/patches/patch-ah | 20 |
2 files changed, 22 insertions, 1 deletions
diff --git a/mail/exim3/distinfo b/mail/exim3/distinfo index 278419516f3..acbed1b788f 100644 --- a/mail/exim3/distinfo +++ b/mail/exim3/distinfo @@ -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-ad) = d4962927418489f77a8e0234f7f95628ed506026 SHA1 (patch-ae) = 0a01f3cfd2bfe59577edcb09b0f2f355185e28f0 SHA1 (patch-af) = bb171d4048ab3f802243dfec1aade86c0a7e0d21 SHA1 (patch-ag) = 9248e3fde82fed7a464c28f3335d4c419c038a03 +SHA1 (patch-ah) = 876541c725366a70c573dc338dad2b450005bbfe diff --git a/mail/exim3/patches/patch-ah b/mail/exim3/patches/patch-ah new file mode 100644 index 00000000000..f300c725876 --- /dev/null +++ b/mail/exim3/patches/patch-ah @@ -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 */ |