pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/sysutils/xosview Thanks to @@@'s new macros we need an...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/62896d2c9e81
branches:  trunk
changeset: 473038:62896d2c9e81
user:      christos <christos%pkgsrc.org@localhost>
date:      Thu Apr 15 14:37:22 2004 +0000

description:
Thanks to @@@'s new macros we need another patch now.

diffstat:

 sysutils/xosview/distinfo         |   3 ++-
 sysutils/xosview/patches/patch-aa |  18 ++++++++++++++++++
 2 files changed, 20 insertions(+), 1 deletions(-)

diffs (32 lines):

diff -r f0f69691c7bc -r 62896d2c9e81 sysutils/xosview/distinfo
--- a/sysutils/xosview/distinfo Thu Apr 15 14:15:44 2004 +0000
+++ b/sysutils/xosview/distinfo Thu Apr 15 14:37:22 2004 +0000
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.9 2003/11/11 07:57:42 wiz Exp $
+$NetBSD: distinfo,v 1.10 2004/04/15 14:37:22 christos Exp $
 
 SHA1 (xosview-1.8.1.tar.gz) = 3b74fb0cf01c99ff0a2da3d1f028bb32e4043e8e
 Size (xosview-1.8.1.tar.gz) = 237724 bytes
+SHA1 (patch-aa) = cc3de3bb4130724df543f85705b19946fba2577a
diff -r f0f69691c7bc -r 62896d2c9e81 sysutils/xosview/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/sysutils/xosview/patches/patch-aa Thu Apr 15 14:37:22 2004 +0000
@@ -0,0 +1,18 @@
+$NetBSD: patch-aa,v 1.10 2004/04/15 14:37:22 christos Exp $
+
+--- bsd/kernel.cc.orig 2003-10-13 21:53:17.000000000 -0400
++++ bsd/kernel.cc      2004-04-15 10:16:49.000000000 -0400
+@@ -817,11 +817,11 @@
+ #if defined(NETBSD_1_6A)
+   // Use the new sysctl to do this for us.
+   int mib[3] = {CTL_HW, HW_DISKSTATS, sizeof(struct disk_sysctl)};
+-  size_t sysctl_size = NetBSD_N_Drives * sizeof(struct disk_sysctl);
++  size_t sysctl_sz = NetBSD_N_Drives * sizeof(struct disk_sysctl);
+   struct disk_sysctl drive_stats[NetBSD_N_Drives];
+ 
+   // Do the sysctl.
+-  if (sysctl(mib, 3, drive_stats, &sysctl_size, NULL, 0) < 0) {
++  if (sysctl(mib, 3, drive_stats, &sysctl_sz, NULL, 0) < 0) {
+     err(1, "sysctl hw.diskstats failed");
+   }
+ 



Home | Main Index | Thread Index | Old Index