aboutsummaryrefslogtreecommitdiff
path: root/sysutils/cdrtools/files/patch-aa
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/cdrtools/files/patch-aa')
-rw-r--r--sysutils/cdrtools/files/patch-aa11
1 files changed, 11 insertions, 0 deletions
diff --git a/sysutils/cdrtools/files/patch-aa b/sysutils/cdrtools/files/patch-aa
new file mode 100644
index 000000000000..fb4c76019dea
--- /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';