Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
$NetBSD: patch-src_mac.cpp,v 1.1 2012/06/27 08:33:40 sbd Exp $
Make get_file_extname() a const function.
--- src/mac.cpp.orig 2005-04-15 09:00:01.000000000 +0000
+++ src/mac.cpp
@@ -43,9 +43,9 @@ static PlayerInfo *mac_info;
extern "C"{
#endif
-static char *get_file_extname(const char *filename)
+static const char *get_file_extname(const char *filename)
{
- char *ext = strrchr(filename, '.');
+ const char *ext = strrchr(filename, '.');
if (ext != NULL)
++ext;