summaryrefslogtreecommitdiff
path: root/audio/cdparanoia/patches
diff options
context:
space:
mode:
authoritohy <itohy@pkgsrc.org>2000-03-13 05:23:28 +0000
committeritohy <itohy@pkgsrc.org>2000-03-13 05:23:28 +0000
commit169c2f6b78fef1e356d0ddfb252fbda4cbe5d5f2 (patch)
treea775b61109fac0de3c0d1d0d0766af9ee8f36bd9 /audio/cdparanoia/patches
parent9fe0402e1e3db8b8cb7921e039b702a2c406c8ac (diff)
downloadpkgsrc-169c2f6b78fef1e356d0ddfb252fbda4cbe5d5f2.tar.gz
Oops, copy-and-paste botch....
SCSI "mode select" commands were not handled correctly, and some drives might not work (I'm not sure).
Diffstat (limited to 'audio/cdparanoia/patches')
-rw-r--r--audio/cdparanoia/patches/patch-cg6
1 files changed, 3 insertions, 3 deletions
diff --git a/audio/cdparanoia/patches/patch-cg b/audio/cdparanoia/patches/patch-cg
index 8fc7441d687..dcb4a0bc83c 100644
--- a/audio/cdparanoia/patches/patch-cg
+++ b/audio/cdparanoia/patches/patch-cg
@@ -1,7 +1,7 @@
-$NetBSD: patch-cg,v 1.1.1.1 2000/01/19 08:03:00 itohy Exp $
+$NetBSD: patch-cg,v 1.2 2000/03/13 05:23:29 itohy Exp $
--- interface/scsi_interface.c.orig Tue Dec 14 13:28:03 1999
-+++ interface/scsi_interface.c Tue Jan 18 08:33:33 2000
++++ interface/scsi_interface.c Sat Mar 11 23:11:34 2000
@@ -32,6 +32,7 @@
#endif
@@ -75,7 +75,7 @@ $NetBSD: patch-cg,v 1.1.1.1 2000/01/19 08:03:00 itohy Exp $
+ if (in_size) {
+ sreq->flags = SCCMD_WRITE;
+ sreq->databuf = d->sg_buffer + cmd_len;
-+ sreq->datalen = out_size;
++ sreq->datalen = in_size;
+ }
+ if (out_size) {
+ sreq->flags = SCCMD_READ;