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:14:13.000000000 +0000
+++ src/backend/utils/adt/datetime.c
@@ -29,6 +29,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,

View File

@@ -0,0 +1,15 @@
$NetBSD: patch-src_interfaces_ecpg_pgtypeslib_interval.c,v 1.1 2015/01/23 15:06:01 joerg Exp $
--- src/interfaces/ecpg/pgtypeslib/interval.c.orig 2014-07-21 19:14:13.000000000 +0000
+++ src/interfaces/ecpg/pgtypeslib/interval.c
@@ -14,6 +14,10 @@
#include "pgtypes_error.h"
#include "pgtypes_interval.h"
+#if defined(__NetBSD__)
+#define strtoi pg_strtoi
+#endif
+
/* copy&pasted from .../src/backend/utils/adt/datetime.c */
static int
strtoi(const char *nptr, char **endptr, int base)

View File

@@ -1,15 +0,0 @@
$NetBSD: patch-src_pl_plpython_Makefile,v 1.1 2013/12/10 22:32:57 adam Exp $
Don't try to use Python framework.
--- src/pl/plpython/Makefile.orig 2013-12-10 21:48:07.000000000 +0000
+++ src/pl/plpython/Makefile
@@ -24,8 +24,6 @@ endif
# Darwin (OS X) has its own ideas about how to do this.
ifeq ($(PORTNAME), darwin)
shared_libpython = yes
-override python_libspec = -framework Python
-override python_additional_libs =
endif
# If we don't have a shared library and the platform doesn't allow it