diff options
author | minskim <minskim> | 2004-09-15 15:15:14 +0000 |
---|---|---|
committer | minskim <minskim> | 2004-09-15 15:15:14 +0000 |
commit | 6161c3027afb268b794132f4590c823224e59fe9 (patch) | |
tree | fa91fdb8a212c7bc4422d6d7a26ffff76e0fc6c8 /audio/snd | |
parent | 5f51f1fa0e20d62e27ca545068c98b5876e713c3 (diff) | |
download | pkgsrc-6161c3027afb268b794132f4590c823224e59fe9.tar.gz |
Use statvfs instead of statfs on NetBSD>=2.0D.
Diffstat (limited to 'audio/snd')
-rw-r--r-- | audio/snd/distinfo | 4 | ||||
-rw-r--r-- | audio/snd/patches/patch-ah | 13 |
2 files changed, 10 insertions, 7 deletions
diff --git a/audio/snd/distinfo b/audio/snd/distinfo index 9d57c97d07f..fcc72b3524d 100644 --- a/audio/snd/distinfo +++ b/audio/snd/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.6 2004/07/28 08:05:32 agc Exp $ +$NetBSD: distinfo,v 1.7 2004/09/15 15:15:14 minskim Exp $ SHA1 (snd.tar.gz) = cb48922170602f30553b604bda039974c1706b65 Size (snd.tar.gz) = 735422 bytes @@ -9,7 +9,7 @@ SHA1 (patch-ad) = 19a185e3e5a9800e56c904c06613b5d9645e6d17 SHA1 (patch-ae) = f3968df5d034d5b3629aef8708cfff7e7a033fd9 SHA1 (patch-af) = a8cf1931093397bcf88be08d36bd11efd9d4c161 SHA1 (patch-ag) = 7a19ce85c0c45ef2844ca22bca74de9238aa3ad1 -SHA1 (patch-ah) = f744861a8736e4acf498a751b42708e0922d5ff2 +SHA1 (patch-ah) = 5933fcbfca2d09bec3a28fe726994b4345ed3fce SHA1 (patch-ai) = 8447999b934cb8af70deb2c1ccc2b4b3d9bc61a8 SHA1 (patch-aj) = 94c096717006f564a5d200ee07f4bccd2f2c13cb SHA1 (patch-ak) = 8732fd50e181bf02db4b7e63d2464f71e44e2f1e diff --git a/audio/snd/patches/patch-ah b/audio/snd/patches/patch-ah index e613f4a0190..5a9a5169d89 100644 --- a/audio/snd/patches/patch-ah +++ b/audio/snd/patches/patch-ah @@ -1,20 +1,23 @@ -$NetBSD: patch-ah,v 1.2 1998/08/07 10:36:10 agc Exp $ +$NetBSD: patch-ah,v 1.3 2004/09/15 15:15:14 minskim Exp $ ---- snd.orig/snd-file.c Tue Feb 10 15:42:41 1998 -+++ snd-file.c Sun Feb 22 02:11:57 1998 -@@ -15,6 +15,11 @@ +--- snd-file.c.orig 1998-02-10 08:42:41.000000000 -0600 ++++ snd-file.c +@@ -15,6 +15,14 @@ #include <sys/vfs.h> #endif +#if defined (__NetBSD__) + #include <sys/param.h> + #include <sys/mount.h> ++ #if (__NetBSD_Version__ >= 200040000) /* NetBSD 2.0D */ ++ #define statfs statvfs ++ #endif +#endif + #ifdef BEOS int disk_kspace (int fd) {return(1234567);} time_t file_write_date(char *filename) {return(1234567);} -@@ -26,7 +31,7 @@ +@@ -26,7 +34,7 @@ int disk_kspace (int fd) #if defined(SGI) || defined(SCO5) || defined(UW2) || defined(SOLARIS) err = fstatfs(fd,&buf,sizeof(buf),0); #endif |