From ca9627e70852f6b2e835660df870fe3ab405882d Mon Sep 17 00:00:00 2001 From: "Suren A. Chilingaryan" Date: Sun, 1 Sep 2019 00:00:32 +0200 Subject: Initial import --- media-plugins/xmms-mac/files/xmms-mac-ds-gcc44.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 media-plugins/xmms-mac/files/xmms-mac-ds-gcc44.patch (limited to 'media-plugins/xmms-mac/files') 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) -- cgit v1.2.3