summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorsbd <sbd@pkgsrc.org>2012-02-06 03:28:44 +0000
committersbd <sbd@pkgsrc.org>2012-02-06 03:28:44 +0000
commit142772f159accab760223396c37d114a027ccb38 (patch)
tree2f1210db79fea24d36fa49d8ff73edec4f6dd9f4 /audio
parent9d19e70eba3e2f9bb2356229a2a2a394a05deb49 (diff)
downloadpkgsrc-142772f159accab760223396c37d114a027ccb38.tar.gz
More casting of strrchr calls.
Diffstat (limited to 'audio')
-rw-r--r--audio/xmms-mac/distinfo3
-rw-r--r--audio/xmms-mac/patches/patch-src_mac.cpp13
2 files changed, 15 insertions, 1 deletions
diff --git a/audio/xmms-mac/distinfo b/audio/xmms-mac/distinfo
index 18ff75fb5af..8dc7ffb53c6 100644
--- a/audio/xmms-mac/distinfo
+++ b/audio/xmms-mac/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2007/02/09 21:21:34 drochner Exp $
+$NetBSD: distinfo,v 1.2 2012/02/06 03:28:44 sbd Exp $
SHA1 (xmms-mac-0.3.1.tar.gz) = 68a75ca93d76fa7deffceac4994b3c2c54518159
RMD160 (xmms-mac-0.3.1.tar.gz) = a7b22cdf0a8196480016f02314a0f60dfcab9984
Size (xmms-mac-0.3.1.tar.gz) = 299783 bytes
+SHA1 (patch-src_mac.cpp) = a264201b1e2e08df74744b94dc3da845ec360a62
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;