summaryrefslogtreecommitdiff
path: root/misc/udfclient/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'misc/udfclient/patches/patch-ab')
-rw-r--r--misc/udfclient/patches/patch-ab26
1 files changed, 26 insertions, 0 deletions
diff --git a/misc/udfclient/patches/patch-ab b/misc/udfclient/patches/patch-ab
new file mode 100644
index 00000000000..49ee6bcaa90
--- /dev/null
+++ b/misc/udfclient/patches/patch-ab
@@ -0,0 +1,26 @@
+$NetBSD: patch-ab,v 1.3 2003/10/27 04:21:36 reinoud Exp $
+
+--- scsilib.h.orig 2003-10-27 04:01:06.000000000 +0100
++++ scsilib.h
+@@ -45,7 +45,7 @@
+
+
+ #define SCSI_CMD_LEN 12
+-typedef uint8_t scsicmd[SCSI_CMD_LEN];
++typedef unsigned char scsicmd[SCSI_CMD_LEN];
+
+
+ #include "scsilib_machdep.h"
+$NetBSD: patch-ab,v 1.3 2003/10/27 04:21:36 reinoud Exp $
+
+--- scsi_subr.c.orig 2003-10-27 04:02:39.000000000 +0100
++++ scsi_subr.c
+@@ -251,7 +251,7 @@ scsi_mode_select(fd, byte2, buf, len)
+
+ bzero(cmd, SCSI_CMD_LEN);
+ cmd[ 0] = 0x15; /* MODE SELECT */
+- cmd[ 1] = SMS_PF | byte2; /* SCSI-2 page format select */
++ cmd[ 1] = 0x10 | byte2; /* SCSI-2 page format select */
+ cmd[ 4] = len; /* length of page settings */
+ cmd[ 5] = 0; /* control */
+