[postgis-tickets] [SCM] PostGIS branch master updated. 3.1.0alpha2-29-g0d0cd34

git at osgeo.org git at osgeo.org
Thu Jul 30 03:43:42 PDT 2020


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "PostGIS".

The branch, master has been updated
       via  0d0cd34136dee1b3f6f6f13747f85f2664a965d8 (commit)
      from  ee6afa6c787a02d28ebbdc2905f6d7fa77a6da39 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 0d0cd34136dee1b3f6f6f13747f85f2664a965d8
Author: Raúl Marín <git at rmr.ninja>
Date:   Thu Jul 30 12:43:06 2020 +0200

    Attempt to fix output for Rasberry Pi
    
    References #4660

diff --git a/liblwgeom/cunit/cu_algorithm.c b/liblwgeom/cunit/cu_algorithm.c
index 1578a2e..f58b001 100644
--- a/liblwgeom/cunit/cu_algorithm.c
+++ b/liblwgeom/cunit/cu_algorithm.c
@@ -784,6 +784,11 @@ test_lwtriangle_clip(void)
 	    LW_PARSER_CHECK_NONE);
 	c = lwgeom_clip_to_ordinate_range(g, 'Z', 0.0, DBL_MAX, 0);
 
+	/* Adjust for Rasberry Pi 64-bit (Debian Buster) */
+	gridspec grid = {0};
+	grid.xsize = grid.ysize = grid.zsize = grid.msize = 1;
+	lwgeom_grid_in_place((LWGEOM *)c, &grid);
+
 	ewkt = lwgeom_to_ewkt((LWGEOM *)c);
 	// printf("c = %s\n", ewkt);
 	ASSERT_STRING_EQUAL(

-----------------------------------------------------------------------

Summary of changes:
 liblwgeom/cunit/cu_algorithm.c | 5 +++++
 1 file changed, 5 insertions(+)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list