summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2003-08-06 06:23:29 +0000
committerwiz <wiz@pkgsrc.org>2003-08-06 06:23:29 +0000
commit4baec7208827587f403679b14553e238d6c4574e (patch)
tree2efa6c2f37e19c7295e3ce72d417a4458ee6d0a2
parentab8fcca4d64814ffac4a2b4a4658dc234fcf8d5e (diff)
downloadpkgsrc-4baec7208827587f403679b14553e238d6c4574e.tar.gz
Declare exp static to make this compile with gcc-3.3.1.
From Anders Hjalmarsson in PR 22370.
-rw-r--r--sysutils/xuvmstat/distinfo3
-rw-r--r--sysutils/xuvmstat/patches/patch-aa13
2 files changed, 15 insertions, 1 deletions
diff --git a/sysutils/xuvmstat/distinfo b/sysutils/xuvmstat/distinfo
index 22fbe70761f..398aae4fb74 100644
--- a/sysutils/xuvmstat/distinfo
+++ b/sysutils/xuvmstat/distinfo
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.2 2001/04/19 11:29:13 agc Exp $
+$NetBSD: distinfo,v 1.3 2003/08/06 06:23:29 wiz Exp $
SHA1 (xuvmstat20010220.tar.gz) = bc9974355212bb4d0b831f5c755b0de6c2cf5968
Size (xuvmstat20010220.tar.gz) = 7513 bytes
+SHA1 (patch-aa) = e532431e01adde4c414c561f04e5f626aba21756
diff --git a/sysutils/xuvmstat/patches/patch-aa b/sysutils/xuvmstat/patches/patch-aa
new file mode 100644
index 00000000000..5ea8a08a738
--- /dev/null
+++ b/sysutils/xuvmstat/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.5 2003/08/06 06:23:29 wiz Exp $
+
+--- xuvmstat.c.orig Tue Feb 20 15:40:49 2001
++++ xuvmstat.c
+@@ -46,7 +46,7 @@ void redraw __P((struct xdpy *, Window,
+
+ u_long black, white, red, green, blue, magenta, orange, purple;
+ XFontStruct *fnt_fixed, *fnt_8x13bold;
+-struct uvmexp exp, oexp;
++static struct uvmexp exp, oexp;
+ struct timeval tv, otv;
+ struct graph *gp_faults, *gp_traps, *gp_intrs, *gp_ctx;
+