summaryrefslogtreecommitdiffstats
path: root/package/netsnmp/netsnmp.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/netsnmp/netsnmp.patch')
-rw-r--r--package/netsnmp/netsnmp.patch11
1 files changed, 6 insertions, 5 deletions
diff --git a/package/netsnmp/netsnmp.patch b/package/netsnmp/netsnmp.patch
index 076592bd8..968b0df75 100644
--- a/package/netsnmp/netsnmp.patch
+++ b/package/netsnmp/netsnmp.patch
@@ -1,18 +1,19 @@
diff -urN net-snmp-5.1-dist/agent/mibgroup/host/hr_system.c net-snmp-5.1/agent/mibgroup/host/hr_system.c
---- net-snmp-5.1-dist/agent/mibgroup/host/hr_system.c 2003-02-28 22:35:13.000000000 -0600
-+++ net-snmp-5.1/agent/mibgroup/host/hr_system.c 2004-03-31 22:06:05.000000000 -0600
-@@ -286,7 +286,11 @@
+--- net-snmp-5.1-dist/agent/mibgroup/host/hr_system.c 2004-02-22 17:29:34.000000000 +0000
++++ net-snmp-5.1/agent/mibgroup/host/hr_system.c 2005-05-27 15:15:52.363982808 +0100
+@@ -603,7 +603,11 @@
current user */
if (kill(utmp_p->ut_pid, 0) == -1 && errno == ESRCH) {
utmp_p->ut_type = DEAD_PROCESS;
+- pututline(utmp_p);
+#if HAVE_UTMPX_H
- pututxline(utmp_p);
++ pututxline(utmp_p);
+#else
+ pututline(utmp_p);
+#endif
continue;
}
- ++total;
+ #endif
diff -urN net-snmp-5.1-dist/configure.in net-snmp-5.1/configure.in
--- net-snmp-5.1-dist/configure.in 2004-03-31 21:59:14.000000000 -0600
+++ net-snmp-5.1/configure.in 2004-03-31 22:06:05.000000000 -0600