diff options
author | sbd <sbd@pkgsrc.org> | 2012-02-06 03:28:44 +0000 |
---|---|---|
committer | sbd <sbd@pkgsrc.org> | 2012-02-06 03:28:44 +0000 |
commit | 7204c7b48ffa7afbd227681bd0459514448bbfef (patch) | |
tree | 2f1210db79fea24d36fa49d8ff73edec4f6dd9f4 /audio/xmms-mac | |
parent | 99decc199ac5ea436ac98699e68e749b9cc38691 (diff) | |
download | pkgsrc-7204c7b48ffa7afbd227681bd0459514448bbfef.tar.gz |
More casting of strrchr calls.
Diffstat (limited to 'audio/xmms-mac')
-rw-r--r-- | audio/xmms-mac/distinfo | 3 | ||||
-rw-r--r-- | audio/xmms-mac/patches/patch-src_mac.cpp | 13 |
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; |