audio/mp3blaster: fix build with Clang 3.9
PR: 212623 Approved by: novel
This commit is contained in:
parent
a50f67ec85
commit
c0f2865f0d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=422453
1 changed files with 11 additions and 0 deletions
11
audio/mp3blaster/files/patch-src__global.cc
Normal file
11
audio/mp3blaster/files/patch-src__global.cc
Normal file
|
@ -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;
|
Loading…
Reference in a new issue