summaryrefslogtreecommitdiff
path: root/net-mgmt/net-snmp/files/patch-lcd_time.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/files/patch-lcd_time.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).
Diffstat (limited to 'net-mgmt/net-snmp/files/patch-lcd_time.c')
-rw-r--r--net-mgmt/net-snmp/files/patch-lcd_time.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/net-mgmt/net-snmp/files/patch-lcd_time.c b/net-mgmt/net-snmp/files/patch-lcd_time.c
new file mode 100644
index 000000000000..60d00ac6a960
--- /dev/null
+++ b/net-mgmt/net-snmp/files/patch-lcd_time.c
@@ -0,0 +1,12 @@
+--- snmplib/lcd_time.c.orig Tue Jan 25 10:16:53 2005
++++ snmplib/lcd_time.c Tue Jan 25 10:17:10 2005
+@@ -38,6 +38,9 @@
+ #include <netinet/in.h>
+ #endif
+
++#if HAVE_UNISTD_H
++#include <unistd.h>
++#endif
+ #if HAVE_DMALLOC_H
+ #include <dmalloc.h>
+ #endif