summaryrefslogtreecommitdiffstats
path: root/sysutils/cdrtools
diff options
context:
space:
mode:
authordirk <dirk@FreeBSD.org>2001-11-18 11:50:31 +0000
committerdirk <dirk@FreeBSD.org>2001-11-18 11:50:31 +0000
commitea059062670a3af5020fc7af92a4f30f5b0d3952 (patch)
tree1bd531217ccd9350f72de3d7975e43d3d7bcbbc8 /sysutils/cdrtools
parent6647a93fb957d77af9cf6dbc59c054c83b434150 (diff)
downloadFreeBSD-ports-ea059062670a3af5020fc7af92a4f30f5b0d3952.zip
FreeBSD-ports-ea059062670a3af5020fc7af92a4f30f5b0d3952.tar.gz
Fix cdda2wav for ATAPI drives.
Submitted by: Naoya Nishimura <nishinao@m3.kcn.ne.jp>
Diffstat (limited to 'sysutils/cdrtools')
-rw-r--r--sysutils/cdrtools/Makefile1
-rw-r--r--sysutils/cdrtools/files/patch-aa11
2 files changed, 12 insertions, 0 deletions
diff --git a/sysutils/cdrtools/Makefile b/sysutils/cdrtools/Makefile
index ff369a1..5528f39 100644
--- a/sysutils/cdrtools/Makefile
+++ b/sysutils/cdrtools/Makefile
@@ -7,6 +7,7 @@
PORTNAME?= cdrtools
PORTVERSION?= 1.10
+PORTREVISION?= 1
CATEGORIES?= sysutils audio
MASTER_SITES= ftp://ftp.fokus.gmd.de/pub/unix/cdrecord/ \
ftp://ftp.cs.tu-berlin.de/pub/misc/cdrecord/ \
diff --git a/sysutils/cdrtools/files/patch-aa b/sysutils/cdrtools/files/patch-aa
new file mode 100644
index 0000000..fb4c760
--- /dev/null
+++ b/sysutils/cdrtools/files/patch-aa
@@ -0,0 +1,11 @@
+--- cdda2wav/ioctl.c.orig Sat Dec 9 23:39:59 2000
++++ cdda2wav/ioctl.c Sun Nov 18 10:38:23 2001
+@@ -162,7 +162,7 @@
+ exit( -1 );
+ }
+ for (i = 0; i < tracks; i++) {
+- toc[i].dwStartSector = entry[i].cdte_addr.lba;
++ toc[i].dwStartSector = ntohl(entry[i].cdte_addr.lba);
+ }
+ bufferTOC[0] = '\0';
+ bufferTOC[1] = '\0';
OpenPOWER on IntegriCloud