pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/net-snmp Fix build on NetBSD-current which dropped...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/8939059e02d5
branches:  trunk
changeset: 532082:8939059e02d5
user:      seb <seb%pkgsrc.org@localhost>
date:      Fri Aug 10 23:37:02 2007 +0000

description:
Fix build on NetBSD-current which dropped MFSNAMELEN: pretend this CPP macro
is still there.

Bump PKGREVISION to 2.

diffstat:

 net/net-snmp/Makefile         |   4 ++--
 net/net-snmp/distinfo         |   4 ++--
 net/net-snmp/patches/patch-aa |  10 +++++++---
 3 files changed, 11 insertions(+), 7 deletions(-)

diffs (50 lines):

diff -r 8e66f2838695 -r 8939059e02d5 net/net-snmp/Makefile
--- a/net/net-snmp/Makefile     Fri Aug 10 23:32:42 2007 +0000
+++ b/net/net-snmp/Makefile     Fri Aug 10 23:37:02 2007 +0000
@@ -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 -r 8e66f2838695 -r 8939059e02d5 net/net-snmp/distinfo
--- a/net/net-snmp/distinfo     Fri Aug 10 23:32:42 2007 +0000
+++ b/net/net-snmp/distinfo     Fri Aug 10 23:37:02 2007 +0000
@@ -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 -r 8e66f2838695 -r 8939059e02d5 net/net-snmp/patches/patch-aa
--- a/net/net-snmp/patches/patch-aa     Fri Aug 10 23:32:42 2007 +0000
+++ b/net/net-snmp/patches/patch-aa     Fri Aug 10 23:37:02 2007 +0000
@@ -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;



Home | Main Index | Thread Index | Old Index