diff options
Diffstat (limited to 'audio/cdparanoia/patches/patch-cb')
-rw-r--r-- | audio/cdparanoia/patches/patch-cb | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/audio/cdparanoia/patches/patch-cb b/audio/cdparanoia/patches/patch-cb index 620ce2b9fdd..e8e8edbaac9 100644 --- a/audio/cdparanoia/patches/patch-cb +++ b/audio/cdparanoia/patches/patch-cb @@ -1,7 +1,7 @@ -$NetBSD: patch-cb,v 1.6 2009/08/09 16:00:53 drochner Exp $ +$NetBSD: patch-cb,v 1.7 2009/08/29 04:54:52 hasso Exp $ ---- interface/low_interface.h.orig 2008-09-11 12:43:52.000000000 +0200 -+++ interface/low_interface.h +--- interface/low_interface.h.orig 2008-09-11 13:43:52 +0300 ++++ interface/low_interface.h 2009-08-26 10:00:01 +0300 @@ -26,6 +26,7 @@ #include <sys/time.h> #include <sys/types.h> @@ -10,7 +10,7 @@ $NetBSD: patch-cb,v 1.6 2009/08/09 16:00:53 drochner Exp $ #include <linux/major.h> #include <linux/version.h> -@@ -54,6 +55,20 @@ +@@ -54,6 +55,22 @@ #include <linux/cdrom.h> #include <linux/major.h> @@ -19,7 +19,9 @@ $NetBSD: patch-cb,v 1.6 2009/08/09 16:00:53 drochner Exp $ +#include <sys/cdio.h> +#include <sys/cdrio.h> + ++#define CAM_NO_SCSI_INQUIRY +#include <cam/scsi/scsi_message.h> ++#include <cam/scsi/scsi_sg.h> +#include <camlib.h> + +#elif defined(__NetBSD__) @@ -31,7 +33,7 @@ $NetBSD: patch-cb,v 1.6 2009/08/09 16:00:53 drochner Exp $ #include "cdda_interface.h" #ifndef SG_EMULATED_HOST -@@ -107,10 +122,18 @@ struct cdda_private_data { +@@ -107,10 +124,18 @@ struct cdda_private_data { #define MAX_RETRIES 8 #define MAX_BIG_BUFF_SIZE 65536 #define MIN_BIG_BUFF_SIZE 4096 |