commit ad2b4814063655752c421e18f984b2b7f9140946 Author: Ed Maste Date: Mon Sep 12 14:35:04 2016 -0400 audio/mp3blaster: fix build with Clang 3.9 Error was: global.cc:374:8: error: cannot initialize a variable of type 'char *' with an rvalue of type 'const char *' char *ext = strrchr(filename, '.'); ^ ~~~~~~~~~~~~~~~~~~~~~~ Reported upstream at https://sourceforge.net/p/mp3blaster/bugs/21/ diff --git a/audio/mp3blaster/files/patch-src__global.cc b/audio/mp3blaster/files/patch-src__global.cc new file mode 100644 index 0000000..d36d66b --- /dev/null +++ b/audio/mp3blaster/files/patch-src__global.cc @@ -0,0 +1,11 @@ +--- src/global.cc.orig 2016-09-12 14:29:38.335706000 -0400 ++++ src/global.cc 2016-09-12 14:26:46.344490000 -0400 +@@ -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;