aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt/net-snmp
diff options
context:
space:
mode:
authorMaxime Henrion <mux@FreeBSD.org>2007-03-05 14:42:00 +0000
committerMaxime Henrion <mux@FreeBSD.org>2007-03-05 14:42:00 +0000
commit4dc402666d1fff2db6b8ee139e598859a43587b7 (patch)
tree326af54cb1dc12696fad51071aa122453f203eb8 /net-mgmt/net-snmp
parentb610843b312697cef3cb2ef08c90be40d48fbc1c (diff)
downloadports-4dc402666d1fff2db6b8ee139e598859a43587b7.tar.gz
ports-4dc402666d1fff2db6b8ee139e598859a43587b7.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.xs17
2 files changed, 16 insertions, 3 deletions
diff --git a/net-mgmt/net-snmp/Makefile b/net-mgmt/net-snmp/Makefile
index 9bfc68e0f934..9fa6ec968849 100644
--- a/net-mgmt/net-snmp/Makefile
+++ b/net-mgmt/net-snmp/Makefile
@@ -7,7 +7,7 @@
PORTNAME= snmp
PORTVERSION= 5.3.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-agent.xs b/net-mgmt/net-snmp/files/patch-agent.xs
index 15862d39d7c2..2bb65138f79c 100644
--- a/net-mgmt/net-snmp/files/patch-agent.xs
+++ b/net-mgmt/net-snmp/files/patch-agent.xs
@@ -1,5 +1,18 @@
---- perl/agent/agent.xs.old 2006/09/01 21:05:50 5.15.2.3
-+++ perl/agent/agent.xs 2007/01/06 00:35:12 5.15.2.4
+--- perl/agent/agent.xs.old Fri May 26 15:16:45 2006
++++ perl/agent/agent.xs Mon Mar 5 13:42:35 2007
+@@ -18,9 +18,9 @@
+ } handler_cb_data;
+
+ typedef struct netsnmp_oid_s {
+- unsigned int *name;
+- unsigned int len;
+- unsigned int namebuf[ MAX_OID_LEN ];
++ oid *name;
++ size_t len;
++ oid namebuf[ MAX_OID_LEN ];
+ } netsnmp_oid;
+
+ static int have_done_agent = 0;
@@ -569,7 +569,7 @@
arg = newSVrv(rarg, "netsnmp_oidPtr");
sv_setiv(arg, (IV) o);