aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/cdrtools-devel
diff options
context:
space:
mode:
authordirk <dirk@FreeBSD.org>2001-11-18 19:50:31 +0800
committerdirk <dirk@FreeBSD.org>2001-11-18 19:50:31 +0800
commitea059062670a3af5020fc7af92a4f30f5b0d3952 (patch)
tree1bd531217ccd9350f72de3d7975e43d3d7bcbbc8 /sysutils/cdrtools-devel
parent6647a93fb957d77af9cf6dbc59c054c83b434150 (diff)
downloadfreebsd-ports-gnome-ea059062670a3af5020fc7af92a4f30f5b0d3952.tar.gz
freebsd-ports-gnome-ea059062670a3af5020fc7af92a4f30f5b0d3952.tar.zst
freebsd-ports-gnome-ea059062670a3af5020fc7af92a4f30f5b0d3952.zip
Fix cdda2wav for ATAPI drives.
Submitted by: Naoya Nishimura <nishinao@m3.kcn.ne.jp>
Diffstat (limited to 'sysutils/cdrtools-devel')
-rw-r--r--sysutils/cdrtools-devel/Makefile1
-rw-r--r--sysutils/cdrtools-devel/files/patch-aa11
2 files changed, 12 insertions, 0 deletions
diff --git a/sysutils/cdrtools-devel/Makefile b/sysutils/cdrtools-devel/Makefile
index ff369a12ca20..5528f39fd43e 100644
--- a/sysutils/cdrtools-devel/Makefile
+++ b/sysutils/cdrtools-devel/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-devel/files/patch-aa b/sysutils/cdrtools-devel/files/patch-aa
new file mode 100644
index 000000000000..fb4c76019dea
--- /dev/null
+++ b/sysutils/cdrtools-devel/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';