pkgsrc/audio/bmp/patches/patch-ap
jmmv bed421e85c Let this build on systems where getmntinfo receives an statfs parameter,
not statvfs.  NetBSD seems to be the (only?) exception.  From Sergio
Jiménez.
2004-05-28 19:20:38 +00:00

16 lines
435 B
Text

$NetBSD: patch-ap,v 1.2 2004/05/28 19:20:39 jmmv Exp $
--- Input/cdaudio/cdaudio.c.orig 2003-12-24 14:27:54.000000000 +0100
+++ Input/cdaudio/cdaudio.c
@@ -553,7 +553,11 @@ extern gboolean is_mounted(const char *d
FILE *mounts;
struct mntent *mnt;
#elif defined(HAVE_GETMNTINFO)
+#if defined(__NetBSD__) && defined(HAVE_STATVFS)
+ struct statvfs *fsp;
+#else
struct statfs *fsp;
+#endif
int entries;
#endif