diff options
Diffstat (limited to 'audio/cdparanoia/patches/patch-cb')
-rw-r--r-- | audio/cdparanoia/patches/patch-cb | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/audio/cdparanoia/patches/patch-cb b/audio/cdparanoia/patches/patch-cb index 9a98d77d362..a7da9dbc346 100644 --- a/audio/cdparanoia/patches/patch-cb +++ b/audio/cdparanoia/patches/patch-cb @@ -1,7 +1,7 @@ -$NetBSD: patch-cb,v 1.8 2010/12/16 04:55:46 chuck Exp $ +$NetBSD: patch-cb,v 1.9 2013/12/12 16:41:32 jperkin Exp $ ---- 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 +--- interface/low_interface.h.orig 2008-09-11 10:43:52.000000000 +0000 ++++ interface/low_interface.h @@ -26,6 +26,7 @@ #include <sys/time.h> #include <sys/types.h> @@ -10,10 +10,14 @@ $NetBSD: patch-cb,v 1.8 2010/12/16 04:55:46 chuck Exp $ #include <linux/major.h> #include <linux/version.h> -@@ -54,6 +55,22 @@ +@@ -54,6 +55,26 @@ #include <linux/cdrom.h> #include <linux/major.h> ++#elif defined(__sun) ++ ++#include <sys/cdio.h> ++ +#elif defined(__FreeBSD__) || defined(__DragonFly__) + +#include <sys/cdio.h> @@ -33,7 +37,7 @@ $NetBSD: patch-cb,v 1.8 2010/12/16 04:55:46 chuck Exp $ #include "cdda_interface.h" #ifndef SG_EMULATED_HOST -@@ -100,17 +117,29 @@ +@@ -100,17 +121,29 @@ typedef struct sg_io_hdr struct cdda_private_data { struct sg_header *sg_hd; unsigned char *sg_buffer; /* points into sg_hd */ |