pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/gqmpeg Make this build under NetBSD 2.0D and abo...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b22cfc980ec4
branches:  trunk
changeset: 475147:b22cfc980ec4
user:      tron <tron%pkgsrc.org@localhost>
date:      Mon May 10 18:29:30 2004 +0000

description:
Make this build under NetBSD 2.0D and above with statvfs(2).

diffstat:

 audio/gqmpeg/distinfo         |   3 ++-
 audio/gqmpeg/patches/patch-ab |  16 ++++++++++++++++
 2 files changed, 18 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r f9a98eb13c8c -r b22cfc980ec4 audio/gqmpeg/distinfo
--- a/audio/gqmpeg/distinfo     Mon May 10 18:19:33 2004 +0000
+++ b/audio/gqmpeg/distinfo     Mon May 10 18:29:30 2004 +0000
@@ -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
diff -r f9a98eb13c8c -r b22cfc980ec4 audio/gqmpeg/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/gqmpeg/patches/patch-ab     Mon May 10 18:29:30 2004 +0000
@@ -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;
+         



Home | Main Index | Thread Index | Old Index