summaryrefslogtreecommitdiff
path: root/sysutils/xuvmstat/patches
diff options
context:
space:
mode:
authorwiz <wiz>2003-08-06 06:23:29 +0000
committerwiz <wiz>2003-08-06 06:23:29 +0000
commit3d549035993cd835ac9870c51b6a3d0a4a50a6a9 (patch)
tree2efa6c2f37e19c7295e3ce72d417a4458ee6d0a2 /sysutils/xuvmstat/patches
parentc1220ea2b5987ab81ef9861dc6fef570c45a3138 (diff)
downloadpkgsrc-3d549035993cd835ac9870c51b6a3d0a4a50a6a9.tar.gz
Declare exp static to make this compile with gcc-3.3.1.
From Anders Hjalmarsson in PR 22370.
Diffstat (limited to 'sysutils/xuvmstat/patches')
-rw-r--r--sysutils/xuvmstat/patches/patch-aa13
1 files changed, 13 insertions, 0 deletions
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;
+