pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/libcdaudio statvfs fix. This closes PR pkg/25619.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e692b6c89a39
branches:  trunk
changeset: 475517:e692b6c89a39
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Mon May 17 21:53:28 2004 +0000

description:
statvfs fix.  This closes PR pkg/25619.

diffstat:

 audio/libcdaudio/distinfo         |   3 ++-
 audio/libcdaudio/patches/patch-aa |  17 +++++++++++++++++
 2 files changed, 19 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r fc1e60ad5fff -r e692b6c89a39 audio/libcdaudio/distinfo
--- a/audio/libcdaudio/distinfo Mon May 17 21:32:33 2004 +0000
+++ b/audio/libcdaudio/distinfo Mon May 17 21:53:28 2004 +0000
@@ -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 -r fc1e60ad5fff -r e692b6c89a39 audio/libcdaudio/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/libcdaudio/patches/patch-aa Mon May 17 21:53:28 2004 +0000
@@ -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;



Home | Main Index | Thread Index | Old Index