summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/mp3blaster/files/mp3blaster-3.2.5-gcc44.patch')
-rw-r--r--media-sound/mp3blaster/files/mp3blaster-3.2.5-gcc44.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/media-sound/mp3blaster/files/mp3blaster-3.2.5-gcc44.patch b/media-sound/mp3blaster/files/mp3blaster-3.2.5-gcc44.patch
new file mode 100644
index 000000000000..fc1a6c8d053e
--- /dev/null
+++ b/media-sound/mp3blaster/files/mp3blaster-3.2.5-gcc44.patch
@@ -0,0 +1,13 @@
+http://bugs.gentoo.org/362347
+
+--- src/global.cc
++++ src/global.cc
+@@ -371,7 +371,7 @@
+ is_sid(const char *filename)
+ {
+ #ifdef HAVE_SIDPLAYER
+- char *ext = strrchr(filename, '.');
++ const char *ext = strrchr(filename, '.');
+ if (ext) {
+ if (!strcasecmp(ext, ".psid")) return 1;
+ if (!strcasecmp(ext, ".sid")) return 1;