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,15 @@
$NetBSD: patch-src_args_cpp,v 1.2 2012/07/01 09:24:45 sbd Exp $]
Cast away the const in a strstr call.
--- src/args.cpp.orig 2004-05-05 23:49:20.000000000 +0000
+++ src/args.cpp
@@ -102,7 +102,7 @@ bool ConsolePlayer::parseTime (const cha
if (*str == '\0')
return false;
- sep = strstr (str, ":");
+ sep = (char*) strstr (str, ":");
if (!sep)
{ // User gave seconds
_time = atoi (str);