summaryrefslogtreecommitdiff
path: root/audio/xmms-mac/patches
diff options
context:
space:
mode:
authorsbd <sbd>2012-02-06 03:28:44 +0000
committersbd <sbd>2012-02-06 03:28:44 +0000
commita8f7822d283123f6689b283c1e48bf8a8a5cbd7f (patch)
tree2f1210db79fea24d36fa49d8ff73edec4f6dd9f4 /audio/xmms-mac/patches
parent300a0dda4faf7d55a32c6f42cbf35650ab4fb9b5 (diff)
downloadpkgsrc-a8f7822d283123f6689b283c1e48bf8a8a5cbd7f.tar.gz
More casting of strrchr calls.
Diffstat (limited to 'audio/xmms-mac/patches')
-rw-r--r--audio/xmms-mac/patches/patch-src_mac.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/audio/xmms-mac/patches/patch-src_mac.cpp b/audio/xmms-mac/patches/patch-src_mac.cpp
new file mode 100644
index 00000000000..eca9e1724be
--- /dev/null
+++ b/audio/xmms-mac/patches/patch-src_mac.cpp
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_mac.cpp,v 1.1 2012/02/06 03:28:44 sbd Exp $
+
+--- src/mac.cpp.orig 2005-04-15 09:05:46.000000000 +0000
++++ src/mac.cpp
+@@ -45,7 +45,7 @@ extern "C"{
+
+ static char *get_file_extname(const char *filename)
+ {
+- char *ext = strrchr(filename, '.');
++ char *ext = (char *)strrchr(filename, '.');
+
+ if (ext != NULL)
+ ++ext;