aboutsummaryrefslogtreecommitdiff
path: root/sysutils/cdrtools
diff options
context:
space:
mode:
authorJoerg Wunsch <joerg@FreeBSD.org>2001-09-20 09:59:50 +0000
committerJoerg Wunsch <joerg@FreeBSD.org>2001-09-20 09:59:50 +0000
commitd27c91a80a8c79b309ce8af53f116a2aedae38d4 (patch)
treecaa10307c8a1ebbc0f1d87259e6733b585fc6779 /sysutils/cdrtools
parent5917176a1bfb95edc6f3cd596782b24d4f7a4270 (diff)
downloadports-d27c91a80a8c79b309ce8af53f116a2aedae38d4.tar.gz
ports-d27c91a80a8c79b309ce8af53f116a2aedae38d4.zip
Notes
Diffstat (limited to 'sysutils/cdrtools')
-rw-r--r--sysutils/cdrtools/files/patch-ai20
1 files changed, 20 insertions, 0 deletions
diff --git a/sysutils/cdrtools/files/patch-ai b/sysutils/cdrtools/files/patch-ai
new file mode 100644
index 000000000000..86abda3cc0fe
--- /dev/null
+++ b/sysutils/cdrtools/files/patch-ai
@@ -0,0 +1,20 @@
+--- cdrecord/drv_philips.c.orig Tue Feb 20 23:56:44 2001
++++ cdrecord/drv_philips.c Tue Sep 18 17:42:51 2001
+@@ -505,12 +505,15 @@
+ * READ BUFFER SCSI cmd which is meant to be used for
+ * something totally else, and which would only jam the
+ * Plasmon due to the incorrect parameters used.
++ *
++ * We need to return some !0 value, otherwise the upper
++ * layer would still issue a READ BUFFER, sigh.
+ */
+
+ if (sp)
+- *sp = 0L;
++ *sp = 1L * 1024 * 1024;
+ if (fp)
+- *fp = 0L;
++ *fp = 1L * 1024 * 1024;
+
+ return (100); /* 100 % */
+ }