1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-31 05:41:08 +00:00

Fix cdda2wav for ATAPI drives.

Submitted by:	Naoya Nishimura <nishinao@m3.kcn.ne.jp>
This commit is contained in:
Dirk Froemberg 2001-11-18 11:50:31 +00:00
parent ea8ae7eb91
commit 2124f79666
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=50184
6 changed files with 26 additions and 0 deletions

View File

@ -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/ \

View File

@ -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';

View File

@ -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/ \

View File

@ -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';

View File

@ -7,6 +7,7 @@
PORTNAME= mkisofs
PORTVERSION= 1.14
PORTREVISION= 0
CATEGORIES= sysutils
MASTERDIR= ${.CURDIR}/../cdrtools

View File

@ -7,6 +7,7 @@
PORTNAME= mkisofs
PORTVERSION= 1.14
PORTREVISION= 0
CATEGORIES= sysutils
MASTERDIR= ${.CURDIR}/../cdrtools