Import of pkgsrc-2015Q2
This commit is contained in:
17
geography/osm2pgsql/patches/patch-middle-pgsql.cpp
Normal file
17
geography/osm2pgsql/patches/patch-middle-pgsql.cpp
Normal file
@@ -0,0 +1,17 @@
|
||||
$NetBSD: patch-middle-pgsql.cpp,v 1.1 2015/06/10 01:48:49 wiedi Exp $
|
||||
|
||||
Need alloca.h on SunOS
|
||||
|
||||
--- middle-pgsql.cpp.orig 2015-04-30 04:15:07.000000000 +0000
|
||||
+++ middle-pgsql.cpp
|
||||
@@ -33,6 +33,10 @@ using namespace std;
|
||||
#define alloca _alloca
|
||||
#endif
|
||||
|
||||
+#if defined(__sun)
|
||||
+#include <alloca.h>
|
||||
+#endif
|
||||
+
|
||||
#include <libpq-fe.h>
|
||||
|
||||
#include "osmtypes.hpp"
|
||||
Reference in New Issue
Block a user