summaryrefslogtreecommitdiff
path: root/mail/exim3
diff options
context:
space:
mode:
authorgrant <grant>2004-05-26 09:57:20 +0000
committergrant <grant>2004-05-26 09:57:20 +0000
commita09b84e1366d17f42ecfe3634a3f3e137cb454b1 (patch)
tree346834a43c03c88583df28cffcd93be91fe96bd7 /mail/exim3
parent48848847a8340a653d8b562e18c75a3a28be816c (diff)
downloadpkgsrc-a09b84e1366d17f42ecfe3634a3f3e137cb454b1.tar.gz
catch up with statvfs on NetBSD 2.0D.
Diffstat (limited to 'mail/exim3')
-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 */