pkgsrc/net/net-snmp/patches/patch-aa
adam d872659bfa Changes 5.4.2:
snmplib:
- [PATCH 1921861]: Avoid endless loop after truncating 64bit int
- Better handling of CONTAINER_INSERT failures with multiple indices

snmpd:
- [PATCH 2023633]: add SCTP-MIB implementation (Linux only)
- suppress annoying "registration != duplicate" warning for root oids

build:
- [BUG 2023803]: Compilation problems on HP-UX 11.31
- Update to libtool 1.5.26

AIX:
- Add support for AIX 6.x.
2008-09-08 12:58:09 +00:00

16 lines
503 B
Text

$NetBSD: patch-aa,v 1.8 2008/09/08 12:58:09 adam Exp $
--- agent/mibgroup/host/hr_filesys.c.orig 2008-07-30 11:58:30.000000000 +0200
+++ agent/mibgroup/host/hr_filesys.c
@@ -96,6 +96,11 @@ struct mnttab *HRFS_entry = &HRFS_entry
#elif defined(HAVE_STATVFS) && defined(__NetBSD__)
+#if !defined(MFSNAMELEN) && defined(_VFS_NAMELEN)
+#define MFSNAMELEN _VFS_NAMELEN
+#endif
+
+#define getfsstat getvfsstat
static struct statvfs *fsstats = NULL;
struct statvfs *HRFS_entry;
static int fscount;