pkgsrc - initial commit
[pkgsrc.git] / audio / gqmpeg / patches / patch-ab
1 $NetBSD: patch-ab,v 1.23 2005/09/08 22:37:53 abs Exp $
2
3 --- src/cpu_perc.c.orig 2002-05-02 21:08:34.000000000 +0200
4 +++ src/cpu_perc.c      2004-05-10 20:22:09.000000000 +0200
5 @@ -66,7 +66,11 @@
6         /* find where the proc fs is mounted, some strange people could mount it
7            in another place than /proc, it can even be not mounted at all */
8         {
9 +#if defined(__NetBSD__) && (__NetBSD_Version__ >= 299000900)
10 +         struct statvfs *mntbufp;
11 +#else
12           struct statfs *mntbufp;
13 +#endif
14           int fs_count;
15           int procfs_found = 0;
16