Import of pkgsrc-2014Q1

This commit is contained in:
2014-04-17 16:38:45 +02:00
parent 785076ae39
commit 9a8c06dafb
19365 changed files with 828089 additions and 278039 deletions

View File

@@ -0,0 +1,13 @@
$NetBSD: patch-backends_postgresql_statement.cpp,v 1.1 2013/10/04 18:32:07 joerg Exp $
--- backends/postgresql/statement.cpp.orig 2013-10-02 07:33:45.455669800 +0000
+++ backends/postgresql/statement.cpp
@@ -453,7 +453,7 @@ long long postgresql_statement_backend::
// pointer to it, so we can't rely on implicit conversion here.
const char * const resultStr = PQcmdTuples(result_.get_result());
char * end;
- long long result = std::strtoll(resultStr, &end, 0);
+ long long result = strtoll(resultStr, &end, 0);
if (end != resultStr)
{
return result;