[SCM] PostGIS branch master updated. 3.5.0-252-g7a629be08

git at osgeo.org git at osgeo.org
Tue Apr 8 20:32:21 PDT 2025


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  7a629be08e5f5c1f771f9542f08fea9dc636cba4 (commit)
      from  a8e0a85ba540491135e3f4b427b7cdc649e7fe48 (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 7a629be08e5f5c1f771f9542f08fea9dc636cba4
Author: Paul Ramsey <pramsey at cleverelephant.ca>
Date:   Tue Apr 8 20:32:17 2025 -0700

    SFCGAL version guard at version 2.1

diff --git a/liblwgeom/lwgeom_sfcgal.c b/liblwgeom/lwgeom_sfcgal.c
index 5c85513be..3447b5639 100644
--- a/liblwgeom/lwgeom_sfcgal.c
+++ b/liblwgeom/lwgeom_sfcgal.c
@@ -25,7 +25,7 @@
 #include "lwgeom_sfcgal.h"
 #include <stdio.h>
 
-#if POSTGIS_SFCGAL_VERSION >= 20000
+#if POSTGIS_SFCGAL_VERSION >= 20100
 #define sfcgal_triangulated_surface_num_triangles(g) sfcgal_geometry_num_geometries((g))
 #define sfcgal_triangulated_surface_triangle_n(g,i)  sfcgal_geometry_get_geometry_n((g), (i))
 #define sfcgal_polyhedral_surface_num_polygons(g)    sfcgal_geometry_num_geometries((g))

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

Summary of changes:
 liblwgeom/lwgeom_sfcgal.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list