summaryrefslogtreecommitdiff
path: root/sysutils/cdrtools-devel/files/patch-cdda2wav::interface.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-cdda2wav::interface.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-cdda2wav::interface.c')
-rw-r--r--sysutils/cdrtools-devel/files/patch-cdda2wav::interface.c20
1 files changed, 7 insertions, 13 deletions
diff --git a/sysutils/cdrtools-devel/files/patch-cdda2wav::interface.c b/sysutils/cdrtools-devel/files/patch-cdda2wav::interface.c
index 3183cc7116cc..6b4ae583dabc 100644
--- a/sysutils/cdrtools-devel/files/patch-cdda2wav::interface.c
+++ b/sysutils/cdrtools-devel/files/patch-cdda2wav::interface.c
@@ -1,19 +1,13 @@
--- cdda2wav/interface.c Mon Dec 29 11:28:09 2003
+++ cdda2wav/interface.c Sun Jan 18 01:35:50 2004
-@@ -444,7 +444,15 @@
+@@ -452,6 +452,10 @@
default: /* for example ATAPI cds */
#else
- #if defined (__FreeBSD__)
-- case 117:
-+#if __FreeBSD_version >= 501113
-+ case 4: /* GEOM */
-+ if (memcmp(pdev_name, "/dev/acd", sizeof("/dev/acd") - 1) != 0) {
-+ fprintf(stderr, "%s is not an ATAPI CDROM device\n", pdev_name);
-+ exit(SYNTAX_ERROR);
-+ }
+ #if defined (__FreeBSD__) || defined(__DragonFly__)
++#if __FreeBSD_version >= 600021
++ case 0: /* majors abandoned */
+ /* FALLTHROUGH */
+#endif
-+ case 117: /* pre-GEOM atapi cd */
- if (!S_ISCHR(statstruct->st_mode)) {
- fprintf(stderr, "%s is not a char device\n",pdev_name);
- exit(SYNTAX_ERROR);
+ #if __FreeBSD_version >= 501113
+ case 4: /* GEOM */
+ /* FALLTHROUGH */