summaryrefslogtreecommitdiff
path: root/sysutils/xosview
diff options
context:
space:
mode:
authorperry <perry@pkgsrc.org>2004-04-21 18:45:09 +0000
committerperry <perry@pkgsrc.org>2004-04-21 18:45:09 +0000
commitc6f6364cf6333842398e4dcc51616652ffdd3794 (patch)
tree32d72f15d18c60a49acda94d6dc85f3a3641af79 /sysutils/xosview
parentc2cbd754ec8e0b4c7920bc10262b8f70a07caf47 (diff)
downloadpkgsrc-c6f6364cf6333842398e4dcc51616652ffdd3794.tar.gz
Kludgily fix a bug where the IRQ meter overran on machines with high HZ.
Diffstat (limited to 'sysutils/xosview')
-rw-r--r--sysutils/xosview/distinfo3
-rw-r--r--sysutils/xosview/patches/patch-ab13
2 files changed, 15 insertions, 1 deletions
diff --git a/sysutils/xosview/distinfo b/sysutils/xosview/distinfo
index bb55820d95a..95068a26fe3 100644
--- a/sysutils/xosview/distinfo
+++ b/sysutils/xosview/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.10 2004/04/15 14:37:22 christos Exp $
+$NetBSD: distinfo,v 1.11 2004/04/21 18:45:09 perry Exp $
SHA1 (xosview-1.8.1.tar.gz) = 3b74fb0cf01c99ff0a2da3d1f028bb32e4043e8e
Size (xosview-1.8.1.tar.gz) = 237724 bytes
SHA1 (patch-aa) = cc3de3bb4130724df543f85705b19946fba2577a
+SHA1 (patch-ab) = 4cb1ed9fad5577a889f22216be2345ace2655307
diff --git a/sysutils/xosview/patches/patch-ab b/sysutils/xosview/patches/patch-ab
new file mode 100644
index 00000000000..602e69b09a6
--- /dev/null
+++ b/sysutils/xosview/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.9 2004/04/21 18:45:09 perry Exp $
+
+--- bsd/intratemeter.cc.orig 2003-10-09 00:20:06.000000000 -0400
++++ bsd/intratemeter.cc 2004-04-21 14:32:07.000000000 -0400
+@@ -48,7 +48,7 @@
+ dodecay_ = parent_->isResourceTrue("irqrateDecay");
+ useGraph_ = parent_->isResourceTrue("irqrateGraph");
+ SetUsedFormat (parent_->getResource("irqrateUsedFormat"));
+- total_ = 100;
++ total_ = 2000;
+
+ // Now, grab a sample. I don't know if this is needed here. BCG
+ BSDGetIntrStats (lastirqs_);