Files
pkgsrc-ng/net/net-snmp/patches/patch-am
2016-11-18 22:39:22 +01:00

14 lines
376 B
Plaintext

$NetBSD: patch-am,v 1.14 2016/06/06 14:11:35 he Exp $
--- agent/mibgroup/host/hr_swrun.c.orig 2014-12-08 20:23:22.000000000 +0000
+++ agent/mibgroup/host/hr_swrun.c
@@ -1027,6 +1027,8 @@ var_hrswrun(struct variable * vp,
else
long_return = 4; /* application */
#endif
+#elif defined darwin
+ long_return = -1;
#else
long_return = 4; /* application */
#endif