- Add a patch to fix speed setting issue.

PR:		ports/78690
Submitted by:	Andriy Gapon <avg@icyb.net.ua> (maintainer)
Approved by:	pav (mentor)
This commit is contained in:
Florent Thoumie 2005-03-11 10:35:23 +00:00
parent 8142db999e
commit b3935e6f77
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=130872
2 changed files with 13 additions and 0 deletions

View file

@ -7,6 +7,7 @@
PORTNAME= udfclient
PORTVERSION= 0.3.3
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://www.13thmonkey.org/udfclient/releases/
DISTNAME= UDFclient.${PORTVERSION}

View file

@ -0,0 +1,12 @@
diff -u -r udf_discop.c.orig udf_discop.c
--- udf_discop.c.orig Thu Jan 27 16:45:23 2005
+++ udf_discop.c Fri Feb 4 22:23:50 2005
@@ -210,7 +210,7 @@
/* Set CD/DVD speed on 'optimal' for it doesnt seem to do it automatically */
bzero(cmd, SCSI_CMD_LEN);
cmd[ 0] = 0xBB; /* Set CD speed */
- cmd[ 1] = 1; /* select CAV (1) or CLV (0) recording */
+ cmd[ 1] = 0; /* select pure CAV (1) or CLV and non-pure CAV (0) recording */
cmd[ 2] = 0xff;
cmd[ 3] = 0xff; /* max read performance speed */
cmd[ 4] = 0xff;