aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/net-snmp
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2004-02-29 12:26:59 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2004-02-29 12:26:59 +0000
commitb0e5f3b827efd2295be08478f5441a9f06fe0f4c (patch)
treec874abeae0021765546dcae8f906d6798c0c26b1 /net-mgmt/net-snmp
parent56c0f94f4d8d91a4d5d16cadda159707d60207e8 (diff)
downloadports-b0e5f3b827efd2295be08478f5441a9f06fe0f4c.tar.gz
ports-b0e5f3b827efd2295be08478f5441a9f06fe0f4c.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-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 1809774e30a6..ba56db36fcf7 100644
--- a/net-mgmt/net-snmp/Makefile
+++ b/net-mgmt/net-snmp/Makefile
@@ -7,7 +7,7 @@
PORTNAME= net-snmp
PORTVERSION= 5.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net-mgmt ipv6
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= net-snmp
diff --git a/net-mgmt/net-snmp/files/patch-auto_nlist.c b/net-mgmt/net-snmp/files/patch-auto_nlist.c
new file mode 100644
index 000000000000..79feff8f64ee
--- /dev/null
+++ b/net-mgmt/net-snmp/files/patch-auto_nlist.c
@@ -0,0 +1,10 @@
+--- agent/auto_nlist.c.orig Sun Feb 29 21:24:25 2004
++++ agent/auto_nlist.c Sun Feb 29 21:24:43 2004
+@@ -57,6 +57,7 @@
+ }
+ if (*ptr == 0) {
+ *ptr = (struct autonlist *) malloc(sizeof(struct autonlist));
++ memset(*ptr, 0, sizeof(struct autonlist));
+ it = *ptr;
+ it->left = 0;
+ it->right = 0;