From a43119812023b4a89f60c827bba95e2cb6ac6c23 Mon Sep 17 00:00:00 2001 From: reinoud Date: Mon, 27 Oct 2003 04:21:36 +0000 Subject: And another patch to get Linux working... sigh ... --- misc/udfclient/distinfo | 3 ++- misc/udfclient/patches/patch-ab | 26 ++++++++++++++++++++++++++ 2 files changed, 28 insertions(+), 1 deletion(-) create mode 100644 misc/udfclient/patches/patch-ab (limited to 'misc/udfclient') diff --git a/misc/udfclient/distinfo b/misc/udfclient/distinfo index 82278cf1f04..d87ff437a4f 100644 --- a/misc/udfclient/distinfo +++ b/misc/udfclient/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.5 2003/10/27 03:56:39 reinoud Exp $ +$NetBSD: distinfo,v 1.6 2003/10/27 04:21:36 reinoud Exp $ SHA1 (UDFclient.0.1p2.tgz) = b694f206da740650a41365b5cc248034040845f0 Size (UDFclient.0.1p2.tgz) = 75080 bytes SHA1 (patch-aa) = 84856780260ff0e0b9703a0f23113d4e4f1573dd +SHA1 (patch-ab) = 15af654089b1c01c34e0fdcdff4e1fa090c32538 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 */ + -- cgit v1.2.3