diff options
Diffstat (limited to 'audio/cdparanoia/patches/patch-cb')
-rw-r--r-- | audio/cdparanoia/patches/patch-cb | 19 |
1 files changed, 15 insertions, 4 deletions
diff --git a/audio/cdparanoia/patches/patch-cb b/audio/cdparanoia/patches/patch-cb index e8e8edbaac9..9a98d77d362 100644 --- a/audio/cdparanoia/patches/patch-cb +++ b/audio/cdparanoia/patches/patch-cb @@ -1,7 +1,7 @@ -$NetBSD: patch-cb,v 1.7 2009/08/29 04:54:52 hasso Exp $ +$NetBSD: patch-cb,v 1.8 2010/12/16 04:55:46 chuck Exp $ ---- interface/low_interface.h.orig 2008-09-11 13:43:52 +0300 -+++ interface/low_interface.h 2009-08-26 10:00:01 +0300 +--- interface/low_interface.h.orig 2008-09-11 06:43:52.000000000 -0400 ++++ interface/low_interface.h 2010-12-15 23:40:19.000000000 -0500 @@ -26,6 +26,7 @@ #include <sys/time.h> #include <sys/types.h> @@ -33,7 +33,18 @@ $NetBSD: patch-cb,v 1.7 2009/08/29 04:54:52 hasso Exp $ #include "cdda_interface.h" #ifndef SG_EMULATED_HOST -@@ -107,10 +124,18 @@ struct cdda_private_data { +@@ -100,17 +117,29 @@ + struct cdda_private_data { + struct sg_header *sg_hd; + unsigned char *sg_buffer; /* points into sg_hd */ ++#if defined(__APPLE__) && defined(__MACH__) ++ /* don't need clock */ ++#else + clockid_t clock; ++#endif + int last_milliseconds; + }; + #define MAX_RETRIES 8 #define MAX_BIG_BUFF_SIZE 65536 #define MIN_BIG_BUFF_SIZE 4096 |