pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/gkrellm1 Use statvfs instead of statfs on Net...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/105d4ee4c9af
branches:  trunk
changeset: 479471:105d4ee4c9af
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Sun Aug 15 06:03:19 2004 +0000

description:
Use statvfs instead of statfs on NetBSD>=2.0D.

diffstat:

 sysutils/gkrellm1/distinfo         |   3 ++-
 sysutils/gkrellm1/patches/patch-ad |  15 +++++++++++++++
 2 files changed, 17 insertions(+), 1 deletions(-)

diffs (32 lines):

diff -r 8bb260097439 -r 105d4ee4c9af sysutils/gkrellm1/distinfo
--- a/sysutils/gkrellm1/distinfo        Sun Aug 15 04:20:59 2004 +0000
+++ b/sysutils/gkrellm1/distinfo        Sun Aug 15 06:03:19 2004 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.1.1.1 2004/02/24 22:06:56 cube Exp $
+$NetBSD: distinfo,v 1.2 2004/08/15 06:03:19 minskim Exp $
 
 SHA1 (gkrellm-1.2.13.tar.bz2) = ab0282e663b69ecf0d622ad7c02db0c72b793bd3
 Size (gkrellm-1.2.13.tar.bz2) = 438917 bytes
 SHA1 (patch-aa) = c2656b0d5372ef1e26479ccedcbd05f4e6dbb5e3
 SHA1 (patch-ab) = a2f1d4b4a253323b6623200c1fca4e0cee0d46f2
 SHA1 (patch-ac) = 0bdbe9b788e62e4732ec87a1d6d8dbcacde7da82
+SHA1 (patch-ad) = 96534caca72b0794589adf5948ea081388cbada9
diff -r 8bb260097439 -r 105d4ee4c9af sysutils/gkrellm1/patches/patch-ad
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/gkrellm1/patches/patch-ad        Sun Aug 15 06:03:19 2004 +0000
@@ -0,0 +1,15 @@
+$NetBSD: patch-ad,v 1.1 2004/08/15 06:03:19 minskim Exp $
+
+--- src/fs.c.orig      2002-06-30 21:20:15.000000000 -0500
++++ src/fs.c
+@@ -35,6 +35,10 @@
+ #include "gkrellm_private_proto.h"
+ #include "gkrellm_threads.h"
+ 
++#if defined(__NetBSD__) && (__NetBSD_Version__ >= 200040000) /* NetBSD 2.0D */
++#define statfs statvfs
++#endif
++
+ typedef struct
+       {
+       gchar   *directory;



Home | Main Index | Thread Index | Old Index