MFH: r503367
databases/pointcloud: Backport upstream PR for PostgreSQL 11 support.
PR: 238302
Approved by: lbartoletti@tuxfamily.org (maintainer)
Obtained from: 3e64c68dd4
Approved by: ports-secteam(miwi)
This commit is contained in:
parent
ef99a88efc
commit
a821d92d41
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/branches/2019Q2/; revision=503516
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= pointcloud
|
||||
PORTVERSION= 1.2.0
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
DISTVERSIONPREFIX= v
|
||||
CATEGORIES= databases geography
|
||||
|
||||
|
26
databases/pointcloud/files/patch-pgsql_pc__access.c
Normal file
26
databases/pointcloud/files/patch-pgsql_pc__access.c
Normal file
@ -0,0 +1,26 @@
|
||||
--- pgsql/pc_access.c.orig 2018-08-22 09:36:04 UTC
|
||||
+++ pgsql/pc_access.c
|
||||
@@ -879,9 +879,9 @@ Datum pcpatch_intersects(PG_FUNCTION_ARGS)
|
||||
|
||||
if ( pc_bounds_intersects(&(serpa1->bounds), &(serpa2->bounds)) )
|
||||
{
|
||||
- PG_RETURN_BOOL(TRUE);
|
||||
+ PG_RETURN_BOOL(true);
|
||||
}
|
||||
- PG_RETURN_BOOL(FALSE);
|
||||
+ PG_RETURN_BOOL(false);
|
||||
}
|
||||
|
||||
PG_FUNCTION_INFO_V1(pcpatch_size);
|
||||
@@ -939,9 +939,9 @@ PG_FUNCTION_INFO_V1(pc_lazperf_enabled);
|
||||
Datum pc_lazperf_enabled(PG_FUNCTION_ARGS)
|
||||
{
|
||||
#ifdef HAVE_LAZPERF
|
||||
- PG_RETURN_BOOL(TRUE);
|
||||
+ PG_RETURN_BOOL(true);
|
||||
#else
|
||||
- PG_RETURN_BOOL(FALSE);
|
||||
+ PG_RETURN_BOOL(false);
|
||||
#endif
|
||||
}
|
||||
|
11
databases/pointcloud/files/patch-pgsql_pc__inout.c
Normal file
11
databases/pointcloud/files/patch-pgsql_pc__inout.c
Normal file
@ -0,0 +1,11 @@
|
||||
--- pgsql/pc_inout.c.orig 2018-08-22 09:36:04 UTC
|
||||
+++ pgsql/pc_inout.c
|
||||
@@ -171,7 +171,7 @@ Datum pcschema_is_valid(PG_FUNCTION_ARGS)
|
||||
|
||||
if ( !schema )
|
||||
{
|
||||
- PG_RETURN_BOOL(FALSE);
|
||||
+ PG_RETURN_BOOL(false);
|
||||
}
|
||||
|
||||
valid = pc_schema_is_valid(schema);
|
Loading…
Reference in New Issue
Block a user