summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2009-04-07 14:29:39 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2009-04-07 14:29:39 +0000
commit2839cbe3eb28716869c3e149bb64ed2e9842952d (patch)
tree925422b207db4921f27ca3257da81a0457354946 /media-sound/qmmp/files
parentSparc stable, Bug #265306. (diff)
downloadgentoo-2-2839cbe3eb28716869c3e149bb64ed2e9842952d.tar.gz
gentoo-2-2839cbe3eb28716869c3e149bb64ed2e9842952d.tar.bz2
gentoo-2-2839cbe3eb28716869c3e149bb64ed2e9842952d.zip
Version bump, use gcc-4.3 patch
(Portage version: 2.2_rc28/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/qmmp/files')
-rw-r--r--media-sound/qmmp/files/decoder_mad-gcc-4.3.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/media-sound/qmmp/files/decoder_mad-gcc-4.3.patch b/media-sound/qmmp/files/decoder_mad-gcc-4.3.patch
new file mode 100644
index 000000000000..46ba04935e3b
--- /dev/null
+++ b/media-sound/qmmp/files/decoder_mad-gcc-4.3.patch
@@ -0,0 +1,15 @@
+Index: qmmp-0.2.4/src/plugins/Input/mad/decoder_mad.cpp
+===================================================================
+--- qmmp-0.2.4.orig/src/plugins/Input/mad/decoder_mad.cpp
++++ qmmp-0.2.4/src/plugins/Input/mad/decoder_mad.cpp
+@@ -264,8 +264,8 @@ bool DecoderMAD::findHeader()
+ if (stream.error == MAD_ERROR_LOSTSYNC)
+ {
+ //skip ID3v2 tag
+- uint tagSize = findID3v2((uchar *)stream.this_frame,
+- (uint) stream.bufend - (uint) stream.this_frame);
++ ulong tagSize = findID3v2((uchar *)stream.this_frame,
++ (ulong) stream.bufend - (ulong) stream.this_frame);
+ if (tagSize > 0)
+ {
+ mad_stream_skip(&stream, tagSize);