summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorgrant <grant@pkgsrc.org>2004-05-26 09:57:20 +0000
committergrant <grant@pkgsrc.org>2004-05-26 09:57:20 +0000
commit513ca5c444bb2ab8da0cf5b85ea7c62384393f98 (patch)
tree346834a43c03c88583df28cffcd93be91fe96bd7 /mail
parentdc2ac160c18b5d7ccb43b7335ca51e0ce2bce265 (diff)
downloadpkgsrc-513ca5c444bb2ab8da0cf5b85ea7c62384393f98.tar.gz
catch up with statvfs on NetBSD 2.0D.
Diffstat (limited to 'mail')
-rw-r--r--mail/exim3/distinfo3
-rw-r--r--mail/exim3/patches/patch-ah20
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 */