From a7f56345112d5666e5a236c54af31edcac9c1aa0 Mon Sep 17 00:00:00 2001 From: Jun Kuriyama Date: Tue, 25 Jan 2005 23:49:30 +0000 Subject: - 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). --- net-mgmt/net-snmp/files/patch-snmpusm.c | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'net-mgmt/net-snmp/files/patch-snmpusm.c') diff --git a/net-mgmt/net-snmp/files/patch-snmpusm.c b/net-mgmt/net-snmp/files/patch-snmpusm.c index 7b0ced219ae5..4eae56c1a0f0 100644 --- a/net-mgmt/net-snmp/files/patch-snmpusm.c +++ b/net-mgmt/net-snmp/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 + #endif + ++#if HAVE_UNISTD_H ++#include ++#endif + #if HAVE_DMALLOC_H + #include + #endif +@@ -89,6 +92,8 @@ oid usmAESPrivProtocol[10] = { 1, 3, 6, 1, 6, 3, 10, 1, 2, 4 }; /* backwards compat */ oid *usmAES128PrivProtocol = usmAESPrivProtocol; -- cgit v1.2.3