summaryrefslogtreecommitdiff
path: root/net/net-snmp
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2007-08-10 23:37:02 +0000
committerseb <seb@pkgsrc.org>2007-08-10 23:37:02 +0000
commit22ed3ea8add32064ed0baa34045051580ed0f6b5 (patch)
tree943942f2226a54b623684d437a70e60b9bd0dae5 /net/net-snmp
parent4159e1074141232a3da1cf032898736090797865 (diff)
downloadpkgsrc-22ed3ea8add32064ed0baa34045051580ed0f6b5.tar.gz
Fix build on NetBSD-current which dropped MFSNAMELEN: pretend this CPP macro
is still there. Bump PKGREVISION to 2.
Diffstat (limited to 'net/net-snmp')
-rw-r--r--net/net-snmp/Makefile4
-rw-r--r--net/net-snmp/distinfo4
-rw-r--r--net/net-snmp/patches/patch-aa10
3 files changed, 11 insertions, 7 deletions
diff --git a/net/net-snmp/Makefile b/net/net-snmp/Makefile
index 766af1df689..4219939155e 100644
--- a/net/net-snmp/Makefile
+++ b/net/net-snmp/Makefile
@@ -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/
diff --git a/net/net-snmp/distinfo b/net/net-snmp/distinfo
index 16edbc5c118..ee08306836a 100644
--- a/net/net-snmp/distinfo
+++ b/net/net-snmp/distinfo
@@ -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
diff --git a/net/net-snmp/patches/patch-aa b/net/net-snmp/patches/patch-aa
index 994a26026f4..960be2b48b7 100644
--- a/net/net-snmp/patches/patch-aa
+++ b/net/net-snmp/patches/patch-aa
@@ -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;