pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/snd Use statvfs instead of statfs on NetBSD>=2.0D.
details: https://anonhg.NetBSD.org/pkgsrc/rev/f221f2255841
branches: trunk
changeset: 480585:f221f2255841
user: minskim <minskim%pkgsrc.org@localhost>
date: Wed Sep 15 15:15:14 2004 +0000
description:
Use statvfs instead of statfs on NetBSD>=2.0D.
diffstat:
audio/snd/distinfo | 4 ++--
audio/snd/patches/patch-ah | 13 ++++++++-----
2 files changed, 10 insertions(+), 7 deletions(-)
diffs (50 lines):
diff -r 9cadba49f578 -r f221f2255841 audio/snd/distinfo
--- a/audio/snd/distinfo Wed Sep 15 14:51:42 2004 +0000
+++ b/audio/snd/distinfo Wed Sep 15 15:15:14 2004 +0000
@@ -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-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 -r 9cadba49f578 -r f221f2255841 audio/snd/patches/patch-ah
--- a/audio/snd/patches/patch-ah Wed Sep 15 14:51:42 2004 +0000
+++ b/audio/snd/patches/patch-ah Wed Sep 15 15:15:14 2004 +0000
@@ -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
Home |
Main Index |
Thread Index |
Old Index