diff options
Diffstat (limited to 'games-emulation/daphne/files/daphne-1.0-vorbisfilefix.patch')
-rw-r--r-- | games-emulation/daphne/files/daphne-1.0-vorbisfilefix.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/games-emulation/daphne/files/daphne-1.0-vorbisfilefix.patch b/games-emulation/daphne/files/daphne-1.0-vorbisfilefix.patch new file mode 100644 index 000000000000..49eb1aaab62d --- /dev/null +++ b/games-emulation/daphne/files/daphne-1.0-vorbisfilefix.patch @@ -0,0 +1,14 @@ +Fix no sound issue with >=media-libs/libvorbis-1.2.0 + +diff -ruN v_1_0.orig/src/ldp-out/ldp-vldp-audio.cpp v_1_0/src/ldp-out/ldp-vldp-audio.cpp +--- v_1_0.orig/src/ldp-out/ldp-vldp-audio.cpp 2008-01-29 18:04:07.000000000 +0100 ++++ v_1_0/src/ldp-out/ldp-vldp-audio.cpp 2008-09-19 13:43:10.000000000 +0200 +@@ -146,7 +146,7 @@ + switch (whence) + { + case SEEK_SET: +- if (offset < g_audio_filesize) ++ if (offset <= g_audio_filesize) + { + // make sure offset is positive so we don't get into trouble + if (offset >= 0) |