summaryrefslogtreecommitdiffstats
path: root/audio/morituri/paranoia-overread.patch
diff options
context:
space:
mode:
Diffstat (limited to 'audio/morituri/paranoia-overread.patch')
-rw-r--r--audio/morituri/paranoia-overread.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/audio/morituri/paranoia-overread.patch b/audio/morituri/paranoia-overread.patch
new file mode 100644
index 0000000000..e87ba797f4
--- /dev/null
+++ b/audio/morituri/paranoia-overread.patch
@@ -0,0 +1,11 @@
+diff -ur cdparanoia-III-10.2.orig/main.c cdparanoia-III-10.2/main.c
+--- cdparanoia-III-10.2.orig/main.c 2008-09-11 17:11:02.000000000 -0400
++++ cdparanoia-III-10.2/main.c 2010-09-20 23:24:18.753710419 -0400
+@@ -1402,6 +1402,7 @@
+ int i;
+ /* read a sector and output the partial offset. Save the
+ rest for the next batch iteration */
++ paranoia_seek(p, cursor, SEEK_SET);
+ readbuf=paranoia_read_limited(p,callback,max_retries);
+ err=cdda_errors(d);mes=cdda_messages(d);
+