summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorreinoud <reinoud>2003-10-27 04:21:36 +0000
committerreinoud <reinoud>2003-10-27 04:21:36 +0000
commit169aaf63a7984c607358ac0989a5f4b9dcfbf96e (patch)
tree6fd974a472d7dfc68df7697ada0c9f433608e20a /misc
parentbc73a6a8afc0bd85fd10d5e5920507caaf98acc5 (diff)
downloadpkgsrc-169aaf63a7984c607358ac0989a5f4b9dcfbf96e.tar.gz
And another patch to get Linux working... sigh ...
Diffstat (limited to 'misc')
-rw-r--r--misc/udfclient/distinfo3
-rw-r--r--misc/udfclient/patches/patch-ab26
2 files changed, 28 insertions, 1 deletions
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 */
+