|
Re: Review request: libstatgrab: msg#00016os.netbsd.devel.pkgsrc.wip.review
* Tim Bishop, Thu, 20 May 2004 15:42:04 +0100: > I've incorporated the feedback I got last time I asked for a review > of libstatgrab, and I've updated to a new version. It now supports > the current branch. This package doesn't build on NetBSD 2.0D or later due to the statfs/statvfs problem. Adding the following patch will fix it. -- Min Sik Kim $NetBSD$ --- src/libstatgrab/disk_stats.c.orig 2004-04-08 09:30:43.000000000 -0500 +++ src/libstatgrab/disk_stats.c @@ -122,8 +122,12 @@ sg_fs_stats *sg_get_fs_stats(int *entrie #endif #ifdef ALLBSD int nummnt; +#if defined(__NetBSD__) && (__NetBSD_Version__ > 200030000) + struct statvfs *mp; +#else struct statfs *mp; #endif +#endif #ifdef ALLBSD nummnt=getmntinfo(&mp , MNT_LOCAL);
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Review request: libstatgrab: 00016, Tim Bishop |
|---|---|
| Next by Date: | Re: Review request: libstatgrab: 00016, Tim Bishop |
| Previous by Thread: | Review request: libstatgrabi: 00016, Tim Bishop |
| Next by Thread: | Re: Review request: libstatgrab: 00016, Tim Bishop |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |