summaryrefslogtreecommitdiff
path: root/net-mgmt/net-snmp-devel/files/patch-snmpusm.c
diff options
context:
space:
mode:
authorJun Kuriyama <kuriyama@FreeBSD.org>2005-01-25 23:49:30 +0000
committerJun Kuriyama <kuriyama@FreeBSD.org>2005-01-25 23:49:30 +0000
commita7f56345112d5666e5a236c54af31edcac9c1aa0 (patch)
tree319ec09bd43c9aa0b15993f393a4f9e2e0dfb6cb /net-mgmt/net-snmp-devel/files/patch-snmpusm.c
parentThere is a new tarball out there called 1.2.0.9-1, which is incomplete (diff)
- Update to 5.2.1.
- Add a patch to fix memory leak (SF bugs #1103644). - Add WITH_DMALLOC knob (with a lot of patches to fix #include order).
Notes
Notes: svn path=/head/; revision=127345
Diffstat (limited to 'net-mgmt/net-snmp-devel/files/patch-snmpusm.c')
-rw-r--r--net-mgmt/net-snmp-devel/files/patch-snmpusm.c16
1 files changed, 13 insertions, 3 deletions
diff --git a/net-mgmt/net-snmp-devel/files/patch-snmpusm.c b/net-mgmt/net-snmp-devel/files/patch-snmpusm.c
index 7b0ced219ae5..4eae56c1a0f0 100644
--- a/net-mgmt/net-snmp-devel/files/patch-snmpusm.c
+++ b/net-mgmt/net-snmp-devel/files/patch-snmpusm.c
@@ -1,6 +1,16 @@
---- snmplib/snmpusm.c.orig Wed Dec 8 19:32:52 2004
-+++ snmplib/snmpusm.c Wed Dec 8 19:33:30 2004
-@@ -89,6 +89,8 @@
+--- snmplib/snmpusm.c.orig Thu Sep 16 07:57:47 2004
++++ snmplib/snmpusm.c Tue Jan 25 10:23:02 2005
+@@ -54,6 +54,9 @@
+ #include <netinet/in.h>
+ #endif
+
++#if HAVE_UNISTD_H
++#include <unistd.h>
++#endif
+ #if HAVE_DMALLOC_H
+ #include <dmalloc.h>
+ #endif
+@@ -89,6 +92,8 @@
oid usmAESPrivProtocol[10] = { 1, 3, 6, 1, 6, 3, 10, 1, 2, 4 };
/* backwards compat */
oid *usmAES128PrivProtocol = usmAESPrivProtocol;