summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authormartin <martin>2010-03-04 14:56:13 +0000
committermartin <martin>2010-03-04 14:56:13 +0000
commit73d268d8489a33058bdd3eac26c2c87de19907e5 (patch)
tree37bee1ddfa4a9ee9e79ccc0cc7ff61efc7cb1687 /sysutils
parentbda43d14dac1aacf8b7862cc0f69d161c71725a5 (diff)
downloadpkgsrc-73d268d8489a33058bdd3eac26c2c87de19907e5.tar.gz
NetBSD 5.99.21 and newer does not swap out user areas
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/xuvmstat/distinfo4
-rw-r--r--sysutils/xuvmstat/patches/patch-aa12
2 files changed, 11 insertions, 5 deletions
diff --git a/sysutils/xuvmstat/distinfo b/sysutils/xuvmstat/distinfo
index 58130942080..8db62563c57 100644
--- a/sysutils/xuvmstat/distinfo
+++ b/sysutils/xuvmstat/distinfo
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.8 2006/11/10 10:07:20 martin Exp $
+$NetBSD: distinfo,v 1.9 2010/03/04 14:56:13 martin Exp $
SHA1 (xuvmstat20050909.tar.gz) = b8118b1b11c260683ff14fe2200e9ee584f6b7c5
RMD160 (xuvmstat20050909.tar.gz) = 6400ee7e396c410bf22ef9673b27b909f2a29a68
Size (xuvmstat20050909.tar.gz) = 7661 bytes
-SHA1 (patch-aa) = 96cd66b0614087827aa1e8e34ddec778ad71509c
+SHA1 (patch-aa) = 8bcd46408285f29472e5c65535dcb30945bb2b90
SHA1 (patch-ab) = d68a14dc0a465b1f6e6a3b422f41f677c03b20b6
SHA1 (patch-ac) = c08d6a7034e7911edd8c7080ad5913e68c601e54
SHA1 (patch-ad) = a5acb667b1c30afac025ef815a45b0e94f664bd9
diff --git a/sysutils/xuvmstat/patches/patch-aa b/sysutils/xuvmstat/patches/patch-aa
index 44e63e90442..69a52d14e40 100644
--- a/sysutils/xuvmstat/patches/patch-aa
+++ b/sysutils/xuvmstat/patches/patch-aa
@@ -1,7 +1,7 @@
-$NetBSD: patch-aa,v 1.8 2006/11/10 10:07:20 martin Exp $
+$NetBSD: patch-aa,v 1.9 2010/03/04 14:56:13 martin Exp $
--- xuvmstat.c.orig 2005-09-09 15:38:48.000000000 +0200
-+++ xuvmstat.c 2006-11-10 10:52:11.000000000 +0100
++++ xuvmstat.c 2010-03-04 15:51:54.000000000 +0100
@@ -40,13 +40,13 @@
#include "libcdcx.h"
@@ -199,12 +199,18 @@ $NetBSD: patch-aa,v 1.8 2006/11/10 10:07:20 martin Exp $
gp_ctx = create_graph(3, "SWITCH/SWAP", names, before, after, color, white);
}
-@@ -373,25 +373,25 @@
+@@ -372,26 +372,31 @@
+ buf, strlen(buf));
y += get_fontheight(fnt_fixed) + 5;
++#if __NetBSD_Version__ >= 599002100
++ snprintf(buf, sizeof(buf), " woke=%d, revs=%d",
++ curexp.pdwoke, curexp.pdrevs);
++#else
snprintf(buf, sizeof(buf), " woke=%d, revs=%d, swout=%d",
- cexp.pdwoke, cexp.pdrevs, cexp.pdswout);
+ curexp.pdwoke, curexp.pdrevs, curexp.pdswout);
++#endif
XDrawImageString(xdpy->dpy, win, gc, 5, get_fontheight(fnt_fixed) + y,
buf, strlen(buf));
y += get_fontheight(fnt_fixed) + 1;