Files
pkgsrc-ng/audio/xmms/patches/patch-aa
2013-09-26 17:14:40 +02:00

17 lines
450 B
Plaintext

$NetBSD: patch-aa,v 1.9 2005/09/06 08:10:57 abs Exp $
--- Input/cdaudio/cdaudio.c.orig 2004-05-06 17:52:36.000000000 +0200
+++ Input/cdaudio/cdaudio.c 2004-05-06 17:54:45.000000000 +0200
@@ -305,7 +305,11 @@
FILE *mounts;
struct mntent *mnt;
#elif defined(HAVE_GETMNTINFO)
+#if (defined(__NetBSD__) && __NetBSD_Version__ >= 299000900) /* NetBSD 2.99.9 */
+ struct statvfs *fsp;
+#else
struct statfs *fsp;
+#endif
int entries;
#endif