diff options
author | Ion-Mihai Tetcu <itetcu@FreeBSD.org> | 2009-02-20 15:06:15 +0000 |
---|---|---|
committer | Ion-Mihai Tetcu <itetcu@FreeBSD.org> | 2009-02-20 15:06:15 +0000 |
commit | c4c9376026cd7046f79840f160f1e3f28c9882b2 (patch) | |
tree | 2fbb3aff45f8d0afd16d1bce69cf4b05afe6909c /sysutils/rmonitor | |
parent | 8082dd346264a6bfae4d729f0e5cac56240c8e18 (diff) |
- Fix integer overflow on 64bit platforms
- bump PORTREVISION
PR: 131741
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=228709
Diffstat (limited to 'sysutils/rmonitor')
-rw-r--r-- | sysutils/rmonitor/Makefile | 3 | ||||
-rw-r--r-- | sysutils/rmonitor/files/patch-src__rmonitor.c | 11 |
2 files changed, 14 insertions, 0 deletions
diff --git a/sysutils/rmonitor/Makefile b/sysutils/rmonitor/Makefile index 5a3f46965743..1ea1202e16bd 100644 --- a/sysutils/rmonitor/Makefile +++ b/sysutils/rmonitor/Makefile @@ -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> diff --git a/sysutils/rmonitor/files/patch-src__rmonitor.c b/sysutils/rmonitor/files/patch-src__rmonitor.c new file mode 100644 index 000000000000..dcd449f3472c --- /dev/null +++ b/sysutils/rmonitor/files/patch-src__rmonitor.c @@ -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; |