Import of pkgsrc-2016Q3

This commit is contained in:
2016-10-14 07:49:11 +02:00
committed by Lionel Sambuc
parent 9d819b6d54
commit 1242aa1e36
35952 changed files with 949749 additions and 377083 deletions

View File

@@ -0,0 +1,14 @@
$NetBSD: patch-src_backend_utils_adt_datetime.c,v 1.1 2016/02/25 21:37:35 tnn Exp $
--- src/backend/utils/adt/datetime.c.orig 2014-12-16 01:07:34.000000000 +0000
+++ src/backend/utils/adt/datetime.c
@@ -31,6 +31,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,