From dd5bb0ca3163bad7eed9372291d7a1739f763a4f Mon Sep 17 00:00:00 2001 From: Marius Strobl Date: Sat, 18 Feb 2006 15:53:48 +0000 Subject: 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. --- .../cdrtools-devel/files/patch-readcd::readcd.c | 31 ---------------------- 1 file changed, 31 deletions(-) delete mode 100644 sysutils/cdrtools-devel/files/patch-readcd::readcd.c (limited to 'sysutils/cdrtools-devel/files/patch-readcd::readcd.c') 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; -- cgit v1.2.3