diff options
author | wiz <wiz> | 2003-08-06 06:23:29 +0000 |
---|---|---|
committer | wiz <wiz> | 2003-08-06 06:23:29 +0000 |
commit | 3d549035993cd835ac9870c51b6a3d0a4a50a6a9 (patch) | |
tree | 2efa6c2f37e19c7295e3ce72d417a4458ee6d0a2 /sysutils/xuvmstat/patches | |
parent | c1220ea2b5987ab81ef9861dc6fef570c45a3138 (diff) | |
download | pkgsrc-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-aa | 13 |
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; + |