Jared D. McNeill wrote:
Module Name: pkgsrc Committed By: jmcneill Date: Sat Nov 29 19:09:04 UTC 2008 Modified Files: pkgsrc/devel/glib2: Makefile distinfo pkgsrc/devel/glib2/patches: patch-ba Log Message:From FreeBSD ports: gio/gunixmounts.c: poll the list of mounted filesystemssince we can't rely on checking for mtab updates like other systems. Bump PKGREVISION.
I think you're missing a #include <sys/types.h> #include <sys/statvfs.h>in that patch. At least thats what getmntinfo(3) seems to indicate. I'm no longer able to build glib2 on NetBSD-4 with this patch.
-Dan