Import of pkgsrc-2015Q1

This commit is contained in:
2015-04-22 14:34:26 +02:00
committed by Lionel Sambuc
parent 9a8c06dafb
commit 4af1cdf7a9
25114 changed files with 870550 additions and 795435 deletions

View File

@@ -0,0 +1,14 @@
$NetBSD: patch-src_backend_utils_adt_datetime.c,v 1.1 2015/01/23 15:06:01 joerg Exp $
--- src/backend/utils/adt/datetime.c.orig 2014-07-21 19:12:31.000000000 +0000
+++ src/backend/utils/adt/datetime.c
@@ -30,6 +30,9 @@
#include "utils/memutils.h"
#include "utils/tzparser.h"
+#if defined(__NetBSD__)
+#define strtoi pg_strtoi
+#endif
static int DecodeNumber(int flen, char *field, bool haveTextMonth,
int fmask, int *tmask,