pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/gkrellm With statvfs(), the significant measu...
details: https://anonhg.NetBSD.org/pkgsrc/rev/e3ffcbbc9d82
branches: trunk
changeset: 475077:e3ffcbbc9d82
user: fredb <fredb%pkgsrc.org@localhost>
date: Sun May 09 20:32:10 2004 +0000
description:
With statvfs(), the significant measures are scaled in terms of f_frsize,
not f_bsize.
diffstat:
sysutils/gkrellm/distinfo | 4 ++--
sysutils/gkrellm/patches/patch-aa | 14 +++++++++-----
2 files changed, 11 insertions(+), 7 deletions(-)
diffs (44 lines):
diff -r 22cfdba02332 -r e3ffcbbc9d82 sysutils/gkrellm/distinfo
--- a/sysutils/gkrellm/distinfo Sun May 09 20:31:07 2004 +0000
+++ b/sysutils/gkrellm/distinfo Sun May 09 20:32:10 2004 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.20 2004/04/23 15:13:07 xtraeme Exp $
+$NetBSD: distinfo,v 1.21 2004/05/09 20:32:10 fredb Exp $
SHA1 (gkrellm-2.1.28.tar.bz2) = 3c02b156b1218ba6d164ec652b4dec47f33f88b4
Size (gkrellm-2.1.28.tar.bz2) = 633487 bytes
-SHA1 (patch-aa) = 1e911cd06c638081b5fd0ea0ce8b7557ca53b2f1
+SHA1 (patch-aa) = 92a1b4c6e290bd13fa4cad2c3da39cc7d335c7ee
diff -r 22cfdba02332 -r e3ffcbbc9d82 sysutils/gkrellm/patches/patch-aa
--- a/sysutils/gkrellm/patches/patch-aa Sun May 09 20:31:07 2004 +0000
+++ b/sysutils/gkrellm/patches/patch-aa Sun May 09 20:32:10 2004 +0000
@@ -1,7 +1,7 @@
-$NetBSD: patch-aa,v 1.11 2004/04/23 15:13:07 xtraeme Exp $
+$NetBSD: patch-aa,v 1.12 2004/05/09 20:32:10 fredb Exp $
---- src/sysdeps/bsd-common.c.orig 2004-04-23 16:59:41.000000000 +0200
-+++ src/sysdeps/bsd-common.c 2004-04-23 17:04:14.000000000 +0200
+--- src/sysdeps/bsd-common.c.orig 2004-01-13 13:32:34.000000000 -0600
++++ src/sysdeps/bsd-common.c
@@ -255,7 +255,11 @@
gkrellm_sys_fs_get_mounts_list(void)
{
@@ -14,7 +14,7 @@
gint mntsize, i;
if ((mntsize = getmntinfo(&mntbuf, MNT_NOWAIT)) == 0)
-@@ -281,9 +285,17 @@
+@@ -281,12 +285,20 @@
void
gkrellm_sys_fs_get_fsusage(gpointer fs, gchar *dir)
{
@@ -31,4 +31,8 @@
+#endif
gkrellm_fs_assign_fsusage_data(fs,
(glong) st.f_blocks, (glong) st.f_bavail,
- (glong) st.f_bfree, (glong) st.f_bsize);
+- (glong) st.f_bfree, (glong) st.f_bsize);
++ (glong) st.f_bfree, (glong) st.f_frsize);
+ else
+ gkrellm_fs_assign_fsusage_data(fs, 0, 0, 0, 0);
+ }
Home |
Main Index |
Thread Index |
Old Index