- Fix integer overflow on 64bit platforms

- bump PORTREVISION

PR:		131741
Submitted by:	maintainer
This commit is contained in:
Ion-Mihai Tetcu 2009-02-20 15:06:15 +00:00
parent 8082dd3462
commit c4c9376026
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=228709
2 changed files with 14 additions and 0 deletions

View file

@ -7,6 +7,7 @@
PORTNAME= rmonitor
PORTVERSION= 1.2
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= ftp://gwdu111.gwdg.de/pub/FreeBSD/misc/ \
ftp://gwdu112.gwdg.de/pub/FreeBSD/misc/
@ -17,4 +18,6 @@ COMMENT= Remote system monitoring utility
MAN1= rmonitor.1
MANCOMPRESSED= yes
#CFLAGS+= -w
.include <bsd.port.mk>

View file

@ -0,0 +1,11 @@
--- ./src/rmonitor.c.orig 2001-07-20 18:31:10.000000000 +0300
+++ ./src/rmonitor.c 2009-02-20 11:24:12.000000000 +0200
@@ -294,7 +294,7 @@
#define samples 2
double lavg[samples];
int dbufs = 0;
- int len;
+ long len;
int maxf = -1;
int maxp = -1;
int memfre = 0;