Fix build on NetBSD-current which dropped MFSNAMELEN: pretend this CPP macro

is still there.

Bump PKGREVISION to 2.
This commit is contained in:
seb 2007-08-10 23:37:02 +00:00
parent 4159e10741
commit 22ed3ea8ad
3 changed files with 11 additions and 7 deletions

View file

@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.60 2007/06/07 23:53:55 gdt Exp $
# $NetBSD: Makefile,v 1.61 2007/08/10 23:37:02 seb Exp $
DISTNAME= net-snmp-5.4
PKGREVISION= 1
PKGREVISION= 2
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=net-snmp/} \
ftp://ftp.net-smnp.org/pub/sourceforge/net-snmp/

View file

@ -1,9 +1,9 @@
$NetBSD: distinfo,v 1.38 2007/05/20 13:55:28 seb Exp $
$NetBSD: distinfo,v 1.39 2007/08/10 23:37:02 seb Exp $
SHA1 (net-snmp-5.4.tar.gz) = 8edb17509eba9f8c9cfb015fe35a1024048129eb
RMD160 (net-snmp-5.4.tar.gz) = 8ad1f9a3def8022eea48d9b74ae71d8efb59ca61
Size (net-snmp-5.4.tar.gz) = 5031685 bytes
SHA1 (patch-aa) = 77d27909157fb2caa4efb4e587395c7998dade12
SHA1 (patch-aa) = 51b09cc020776d136861d34f9ea529a986d2426d
SHA1 (patch-ab) = 3227eeb8b54b37813d8b6949f8c6ddc446038bf2
SHA1 (patch-ac) = a91d776fc41c2ffe813ae0a281da57647e0d1662
SHA1 (patch-ae) = 721e62bb42b6d3787f36316cf2628cd71ae6a6ce

View file

@ -1,11 +1,15 @@
$NetBSD: patch-aa,v 1.6 2007/02/05 12:06:16 adam Exp $
$NetBSD: patch-aa,v 1.7 2007/08/10 23:37:02 seb Exp $
--- agent/mibgroup/host/hr_filesys.c.orig 2006-08-06 02:01:01.000000000 +0200
--- agent/mibgroup/host/hr_filesys.c.orig 2006-08-06 00:01:01.000000000 +0000
+++ agent/mibgroup/host/hr_filesys.c
@@ -93,6 +93,7 @@ struct mnttab *HRFS_entry = &HRFS_entry
@@ -93,6 +93,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;