summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Herrmann <dhn@FreeBSD.org>2009-12-13 17:53:44 +0000
committerDennis Herrmann <dhn@FreeBSD.org>2009-12-13 17:53:44 +0000
commit7b8e4f76ad926de70246c65159275542921f9aef (patch)
tree819b51325e96403067e72825d9fc00474106573c
parent- Get rip python 2.3+ (diff)
- Fix security bug, see http://forums.humdi.net/viewtopic.php?p=1655#p1655
- Bump PORTREVISION
Notes
Notes: svn path=/head/; revision=245718
-rw-r--r--net/vnstat/Makefile1
-rw-r--r--net/vnstat/files/patch-src__image.c11
2 files changed, 12 insertions, 0 deletions
diff --git a/net/vnstat/Makefile b/net/vnstat/Makefile
index c8017863de73..b259b26d65cb 100644
--- a/net/vnstat/Makefile
+++ b/net/vnstat/Makefile
@@ -7,6 +7,7 @@
PORTNAME= vnstat
PORTVERSION= 1.9
+PORTREVISION= 1
CATEGORIES= net
MASTER_SITES= http://humdi.net/vnstat/ \
http://mirror.mcx2.org/
diff --git a/net/vnstat/files/patch-src__image.c b/net/vnstat/files/patch-src__image.c
new file mode 100644
index 000000000000..95dd6f77270e
--- /dev/null
+++ b/net/vnstat/files/patch-src__image.c
@@ -0,0 +1,11 @@
+--- ./src/image.c.orig 2009-12-13 18:45:05.000000000 +0100
++++ ./src/image.c 2009-12-13 18:45:26.000000000 +0100
+@@ -1398,7 +1398,7 @@
+
+ char *getimagescale(uint64_t kb, int rate)
+ {
+- static char buffer[6];
++ static char buffer[7];
+ uint32_t limit[3];
+ int unit;
+