diff options
author | minskim <minskim@pkgsrc.org> | 2004-05-17 21:53:28 +0000 |
---|---|---|
committer | minskim <minskim@pkgsrc.org> | 2004-05-17 21:53:28 +0000 |
commit | dc4a15282e38998632f0c4ec91c29da03076655f (patch) | |
tree | f68eccf4f44624fdcf89a79ff41dbaed4e551fa8 /audio | |
parent | 936a784a093b19da98a734f85ea29d734a259944 (diff) | |
download | pkgsrc-dc4a15282e38998632f0c4ec91c29da03076655f.tar.gz |
statvfs fix. This closes PR pkg/25619.
Diffstat (limited to 'audio')
-rw-r--r-- | audio/libcdaudio/distinfo | 3 | ||||
-rw-r--r-- | audio/libcdaudio/patches/patch-aa | 17 |
2 files changed, 19 insertions, 1 deletions
diff --git a/audio/libcdaudio/distinfo b/audio/libcdaudio/distinfo index e0399771972..aca1e7fef5b 100644 --- a/audio/libcdaudio/distinfo +++ b/audio/libcdaudio/distinfo @@ -1,4 +1,5 @@ -$NetBSD: distinfo,v 1.7 2004/04/08 14:12:50 drochner Exp $ +$NetBSD: distinfo,v 1.8 2004/05/17 21:53:28 minskim Exp $ SHA1 (libcdaudio-0.99.10.tar.gz) = 2735174b7a696340a8f124eb557901407e55062d Size (libcdaudio-0.99.10.tar.gz) = 353389 bytes +SHA1 (patch-aa) = 2d0909282de53caa19a488e7e1eb7d9f6daae856 diff --git a/audio/libcdaudio/patches/patch-aa b/audio/libcdaudio/patches/patch-aa new file mode 100644 index 00000000000..277d07aa91e --- /dev/null +++ b/audio/libcdaudio/patches/patch-aa @@ -0,0 +1,17 @@ +$NetBSD: patch-aa,v 1.8 2004/05/17 21:53:28 minskim Exp $ + +--- src/cdaudio.c.orig 2004-04-03 14:19:16.000000000 -0600 ++++ src/cdaudio.c +@@ -116,8 +116,12 @@ cd_init_device(char *device_name) + #endif + #ifdef HAVE_GETMNTINFO + int mounts; ++#if (defined(__NetBSD__) && __NetBSD_Version__ >= 200040000) /* NetBSD 2.0D */ ++ struct statvfs *mnt; ++#else + struct statfs *mnt; + #endif ++#endif + char devname[255]; + struct stat st; + int len = 0; |