aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/net-snmp
diff options
context:
space:
mode:
authorRyan Steinmetz <zi@FreeBSD.org>2013-05-30 11:55:31 +0000
committerRyan Steinmetz <zi@FreeBSD.org>2013-05-30 11:55:31 +0000
commit686ddc7a7f5db2f2cc695da2524ed6579423e3d3 (patch)
tree1684ecb01dd4248fc400e3c37266354cbc6a8e39 /net-mgmt/net-snmp
parente4e7e370b03765307aacf61370f3ad4b38777228 (diff)
downloadports-686ddc7a7f5db2f2cc695da2524ed6579423e3d3.tar.gz
ports-686ddc7a7f5db2f2cc695da2524ed6579423e3d3.zip
Notes
Diffstat (limited to 'net-mgmt/net-snmp')
-rw-r--r--net-mgmt/net-snmp/Makefile2
-rw-r--r--net-mgmt/net-snmp/files/patch-agent__auto_nlist.c10
2 files changed, 11 insertions, 1 deletions
diff --git a/net-mgmt/net-snmp/Makefile b/net-mgmt/net-snmp/Makefile
index a929d730090a..f50671d7bcb1 100644
--- a/net-mgmt/net-snmp/Makefile
+++ b/net-mgmt/net-snmp/Makefile
@@ -3,7 +3,7 @@
PORTNAME= snmp
PORTVERSION= 5.7.2
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= net-mgmt ipv6
MASTER_SITES= SF/net-${PORTNAME}/net-${PORTNAME}/${PORTVERSION}
PKGNAMEPREFIX= net-
diff --git a/net-mgmt/net-snmp/files/patch-agent__auto_nlist.c b/net-mgmt/net-snmp/files/patch-agent__auto_nlist.c
new file mode 100644
index 000000000000..5712336b3602
--- /dev/null
+++ b/net-mgmt/net-snmp/files/patch-agent__auto_nlist.c
@@ -0,0 +1,10 @@
+--- ./agent/auto_nlist.c.orig 2012-10-09 18:28:58.000000000 -0400
++++ ./agent/auto_nlist.c 2013-04-10 14:26:21.000000000 -0400
+@@ -56,6 +56,7 @@
+ static char *n_name = NULL;
+ #endif
+ *ptr = (struct autonlist *) malloc(sizeof(struct autonlist));
++ bzero(*ptr, sizeof(struct autonlist));
+ it = *ptr;
+ it->left = 0;
+ it->right = 0;