diff options
Diffstat (limited to 'media-plugins/xmms-mac/files')
-rw-r--r-- | media-plugins/xmms-mac/files/xmms-mac-ds-gcc44.patch | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/media-plugins/xmms-mac/files/xmms-mac-ds-gcc44.patch b/media-plugins/xmms-mac/files/xmms-mac-ds-gcc44.patch new file mode 100644 index 0000000..66580e8 --- /dev/null +++ b/media-plugins/xmms-mac/files/xmms-mac-ds-gcc44.patch @@ -0,0 +1,18 @@ +diff -dPNur xmms-mac-0.3.1-orig/src/mac.cpp xmms-mac-0.3.1/src/mac.cpp +--- xmms-mac-0.3.1-orig/src/mac.cpp 2005-04-15 11:05:46.000000000 +0200 ++++ xmms-mac-0.3.1/src/mac.cpp 2011-02-08 17:24:17.000000000 +0100 +@@ -45,12 +45,12 @@ + + static char *get_file_extname(const char *filename) + { +- char *ext = strrchr(filename, '.'); ++ const char *ext = strrchr(filename, '.'); + + if (ext != NULL) + ++ext; + +- return ext; ++ return (char*)ext; + } + + static char *get_tag_info(CAPETag *tag, wchar_t *fieldname) |