diff options
author | Maxime Henrion <mux@FreeBSD.org> | 2007-03-05 14:42:00 +0000 |
---|---|---|
committer | Maxime Henrion <mux@FreeBSD.org> | 2007-03-05 14:42:00 +0000 |
commit | 4dc402666d1fff2db6b8ee139e598859a43587b7 (patch) | |
tree | 326af54cb1dc12696fad51071aa122453f203eb8 /net-mgmt/net-snmp53/files | |
parent | b610843b312697cef3cb2ef08c90be40d48fbc1c (diff) | |
download | ports-4dc402666d1fff2db6b8ee139e598859a43587b7.tar.gz ports-4dc402666d1fff2db6b8ee139e598859a43587b7.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)
Notes
Notes:
svn path=/head/; revision=186583
Diffstat (limited to 'net-mgmt/net-snmp53/files')
-rw-r--r-- | net-mgmt/net-snmp53/files/patch-agent.xs | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/net-mgmt/net-snmp53/files/patch-agent.xs b/net-mgmt/net-snmp53/files/patch-agent.xs index 15862d39d7c2..2bb65138f79c 100644 --- a/net-mgmt/net-snmp53/files/patch-agent.xs +++ b/net-mgmt/net-snmp53/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); |