diff options
author | minskim <minskim@pkgsrc.org> | 2004-08-15 06:03:19 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2004-08-15 06:03:19 +0000 |
commit | 204f8165f06a85ace1e44c56550182b81beeae55 (patch) | |
tree | b3ca6ec3699dfbdccedf685d98d976205e55b9dd /sysutils/gkrellm1 | |
parent | 9f69c92beea141f1f3e549bc53ea0d912d69f398 (diff) | |
download | pkgsrc-204f8165f06a85ace1e44c56550182b81beeae55.tar.gz |
Use statvfs instead of statfs on NetBSD>=2.0D.
Diffstat (limited to 'sysutils/gkrellm1')
-rw-r--r-- | sysutils/gkrellm1/distinfo | 3 | ||||
-rw-r--r-- | sysutils/gkrellm1/patches/patch-ad | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/sysutils/gkrellm1/distinfo b/sysutils/gkrellm1/distinfo index cf4012cc547..07a09cd8777 100644 --- a/sysutils/gkrellm1/distinfo +++ b/sysutils/gkrellm1/distinfo @@ -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 --git a/sysutils/gkrellm1/patches/patch-ad b/sysutils/gkrellm1/patches/patch-ad new file mode 100644 index 00000000000..2f151bd70a5 --- /dev/null +++ b/sysutils/gkrellm1/patches/patch-ad @@ -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; |