summaryrefslogtreecommitdiff
path: root/sysutils/cdrtools-devel/files/patch-readcd::readcd.c
diff options
context:
space:
mode:
authorMarius Strobl <marius@FreeBSD.org>2006-02-18 15:53:48 +0000
committerMarius Strobl <marius@FreeBSD.org>2006-02-18 15:53:48 +0000
commitdd5bb0ca3163bad7eed9372291d7a1739f763a4f (patch)
tree54239d32b520d8654cff156e610104d3661d1988 /sysutils/cdrtools-devel/files/patch-readcd::readcd.c
parentSecurity patch, update to version 7.4.12. (diff)
o Update to 2.01.01a07. Noteworthy changes since 2.01.01a04 are:
- With 2.01.01a05 a new tool btcflash for flashing the firmware of BTC DRW1008 DVD+/-RW drives was added. - With 2.01.01a06 `readcd -scanbus` was finally fixed (the "fix" in 2.01.01a05 did not work). Thus the respective ports patch was removed. - With 2.01.01a07 my changes to make the direct ATAPI transport (cooked_ioctl interface) of cdda2wav work again with FreeBSD after ata(4) was GEOM'ifed and the CDIOCREADAUDIO ioctl removed were finally integrated, but unfortunately a modified, buggy version. Thus the respective ports patches were removed and the bug corrected. For the complete list of changes since 2.01.01a04 see ftp://ftp.berlios.de/pub/cdrecord/alpha/AN-2.01.01a0[5-7] o Make the direct ATAPI transport of cdda2wav work again with FreeBSD after device major numbers were abandoned.
Notes
Notes: svn path=/head/; revision=156302
Diffstat (limited to 'sysutils/cdrtools-devel/files/patch-readcd::readcd.c')
-rw-r--r--sysutils/cdrtools-devel/files/patch-readcd::readcd.c31
1 files changed, 0 insertions, 31 deletions
diff --git a/sysutils/cdrtools-devel/files/patch-readcd::readcd.c b/sysutils/cdrtools-devel/files/patch-readcd::readcd.c
deleted file mode 100644
index f347a2299902..000000000000
--- a/sysutils/cdrtools-devel/files/patch-readcd::readcd.c
+++ /dev/null
@@ -1,31 +0,0 @@
---- readcd/readcd.c.original Sun Jan 15 17:14:03 2006
-+++ readcd/readcd.c Sun Jan 15 17:24:47 2006
-@@ -370,6 +370,8 @@
- exit(err);
- }
- } else {
-+ char errstr[80];
-+
- if (scsibus == -1 && target >= 0 && lun >= 0)
- scsibus = 0;
-
-@@ -378,8 +380,17 @@
- scgp->kdebug = kdebug;
-
- scg_settarget(scgp, scsibus, target, lun);
-- if (scg__open(scgp, NULL) <= 0)
-- comerr("Cannot open SCSI driver.\n");
-+
-+ scgp = scg_open(dev, errstr, sizeof(errstr), 0, 0);
-+
-+ if (scgp == NULL) {
-+ errmsg("%s%sCannot open SCSI driver.\n", errstr, errstr[0]?". ":"");
-+ errmsgno(EX_BAD, "For possible targets try 'readcd -scanbus'.%s\n",
-+ geteuid() ? " Make sure you are root.":"");
-+ errmsgno(EX_BAD, "For possible transport specifiers try 'readcd dev=help'.\n");
-+ exit(EX_BAD);
-+ }
-+
- }
- scgp->silent = silent;
- scgp->verbose = verbose;