Make this build under NetBSD 2.0D and above with statvfs(2).
This commit is contained in:
parent
1d8caacc54
commit
65a44d13d2
2 changed files with 18 additions and 1 deletions
|
@ -1,5 +1,6 @@
|
|||
$NetBSD: distinfo,v 1.22 2003/02/14 22:33:02 wiz Exp $
|
||||
$NetBSD: distinfo,v 1.23 2004/05/10 18:29:30 tron Exp $
|
||||
|
||||
SHA1 (gqmpeg-0.20.0.tar.gz) = e1a69f49c3a4063f4e16c6f3242b49eb31718418
|
||||
Size (gqmpeg-0.20.0.tar.gz) = 966991 bytes
|
||||
SHA1 (patch-aa) = 00f989d188bd6b578c492505204c68017f9445a1
|
||||
SHA1 (patch-ab) = 5bad23e415c2768019f57f0f2d9421057dbcb1b5
|
||||
|
|
16
audio/gqmpeg/patches/patch-ab
Normal file
16
audio/gqmpeg/patches/patch-ab
Normal file
|
@ -0,0 +1,16 @@
|
|||
$NetBSD: patch-ab,v 1.22 2004/05/10 18:29:30 tron Exp $
|
||||
|
||||
--- src/cpu_perc.c.orig 2002-05-02 21:08:34.000000000 +0200
|
||||
+++ src/cpu_perc.c 2004-05-10 20:22:09.000000000 +0200
|
||||
@@ -66,7 +66,11 @@
|
||||
/* find where the proc fs is mounted, some strange people could mount it
|
||||
in another place than /proc, it can even be not mounted at all */
|
||||
{
|
||||
+#if defined(__NetBSD__) && (__NetBSD_Version__ > 200030000)
|
||||
+ struct statvfs *mntbufp;
|
||||
+#else
|
||||
struct statfs *mntbufp;
|
||||
+#endif
|
||||
int fs_count;
|
||||
int procfs_found = 0;
|
||||
|
Loading…
Reference in a new issue