summaryrefslogtreecommitdiff
path: root/sysutils/udfclient
diff options
context:
space:
mode:
authorFlorent Thoumie <flz@FreeBSD.org>2005-03-11 10:35:23 +0000
committerFlorent Thoumie <flz@FreeBSD.org>2005-03-11 10:35:23 +0000
commitb3935e6f7779ed61edc6e8ea827df9ae5f73c6e4 (patch)
tree82182e3e2346ac8c74a4753b4882b11837269af5 /sysutils/udfclient
parentDon't remove ports which others are depending on. (diff)
- Add a patch to fix speed setting issue.
PR: ports/78690 Submitted by: Andriy Gapon <avg@icyb.net.ua> (maintainer) Approved by: pav (mentor)
Notes
Notes: svn path=/head/; revision=130872
Diffstat (limited to 'sysutils/udfclient')
-rw-r--r--sysutils/udfclient/Makefile1
-rw-r--r--sysutils/udfclient/files/patch-udf_discop.c12
2 files changed, 13 insertions, 0 deletions
diff --git a/sysutils/udfclient/Makefile b/sysutils/udfclient/Makefile
index d4144b3e1c93..21320899a1de 100644
--- a/sysutils/udfclient/Makefile
+++ b/sysutils/udfclient/Makefile
@@ -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}
diff --git a/sysutils/udfclient/files/patch-udf_discop.c b/sysutils/udfclient/files/patch-udf_discop.c
new file mode 100644
index 000000000000..ff80d4988a5c
--- /dev/null
+++ b/sysutils/udfclient/files/patch-udf_discop.c
@@ -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;