aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt/net-snmp-devel
diff options
context:
space:
mode:
authormux <mux@FreeBSD.org>2007-03-05 22:42:00 +0800
committermux <mux@FreeBSD.org>2007-03-05 22:42:00 +0800
commit72e302d369deea3970ba8ebf9c905f5cfd36ff85 (patch)
tree5a66a6c5efdb46c2bb707c271a51acb51c6ee0ef /net-mgmt/net-snmp-devel
parentd026992ef6f75e590bc3e03c23c046134708b62f (diff)
downloadfreebsd-ports-gnome-72e302d369deea3970ba8ebf9c905f5cfd36ff85.tar.gz
freebsd-ports-gnome-72e302d369deea3970ba8ebf9c905f5cfd36ff85.tar.zst
freebsd-ports-gnome-72e302d369deea3970ba8ebf9c905f5cfd36ff85.zip
Add a patch taken from net-snmp's SVN repository to fix embedded Perl
agents on 64bits architectures, and bump PORTREVISION. Reviewed by: kuriyama (maintainer)
Diffstat (limited to 'net-mgmt/net-snmp-devel')
-rw-r--r--net-mgmt/net-snmp-devel/Makefile2
-rw-r--r--net-mgmt/net-snmp-devel/files/patch-agent.xs17
2 files changed, 16 insertions, 3 deletions
diff --git a/net-mgmt/net-snmp-devel/Makefile b/net-mgmt/net-snmp-devel/Makefile
index 9bfc68e0f934..9fa6ec968849 100644
--- a/net-mgmt/net-snmp-devel/Makefile
+++ b/net-mgmt/net-snmp-devel/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-devel/files/patch-agent.xs b/net-mgmt/net-snmp-devel/files/patch-agent.xs
index 15862d39d7c2..2bb65138f79c 100644
--- a/net-mgmt/net-snmp-devel/files/patch-agent.xs
+++ b/net-mgmt/net-snmp-devel/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);