[postgis-tickets] [SCM] PostGIS branch stable-2.4 updated. 2.4.9-9-g4f4b200

git at osgeo.org git at osgeo.org
Sun Aug 15 14:11:20 PDT 2021


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, stable-2.4 has been updated
       via  4f4b20058ed01c2c30ae4b6a8ca2818e67471202 (commit)
      from  d399b9fffa38bcefd851b51c2e83876693f14d0e (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 4f4b20058ed01c2c30ae4b6a8ca2818e67471202
Author: Regina Obe <lr at pcorp.us>
Date:   Sun Aug 15 17:11:16 2021 -0400

    Backport autogen.sh changes from 3.1 to address autoconf 2.71, closes #4968 for PostGIS 2.4.10. Fix cu_measures test Closes #4963 Closes 4326 for PostGIS 2.4.10

diff --git a/NEWS b/NEWS
index 1483cfb..0342216 100644
--- a/NEWS
+++ b/NEWS
@@ -9,6 +9,7 @@ YYYY/MM/DD
   - #4769, Fix segfault in st_addband (Raúl Marín)
   - #4727, Fix geocentric bounding box computation for rare case (Paul Ramsey)
   - #4326, Fix CircularPolygon area calculation (Paul Ramsey)
+  - #4968, Update autogen.sh to handle autoconf 2.71 issues (Raúl Marín, Regina Obe)
 
 
 PostGIS 2.4.9
diff --git a/autogen.sh b/autogen.sh
index 6024906..1077208 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -36,7 +36,7 @@ done
 AUTOCONF=`which autoconf 2>/dev/null`
 if [ ! ${AUTOCONF} ]; then
     echo "Missing autoconf!"
-    exit
+    exit 1
 fi
 AUTOCONF_VER=`${AUTOCONF} --version | ${GREP} -E "^.*[0-9]$" | ${SED} 's/^.* //'`
 
@@ -48,7 +48,7 @@ for aclocal in aclocal aclocal-1.10 aclocal-1.9; do
 done
 if [ ! ${ACLOCAL} ]; then
     echo "Missing aclocal!"
-    exit
+    exit 1
 fi
 ACLOCAL_VER=`${ACLOCAL} --version | ${GREP} -E "^.*[0-9]$" | ${SED} 's/^.* //'`
 
@@ -60,7 +60,7 @@ for libtoolize in glibtoolize libtoolize; do
 done
 if [ ! ${LIBTOOLIZE} ]; then
     echo "Missing libtoolize!"
-    exit
+    exit 1
 fi
 LIBTOOLIZE_VER=`${LIBTOOLIZE} --version | ${GREP} -E "^.*[0-9]\.[0-9]" | ${SED} 's/^.* //'`
 LIBTOOLIZE_MAJOR_VER=`echo ${LIBTOOLIZE_VER} | cut -f1 -d'.'`
@@ -81,6 +81,9 @@ ${ACLOCAL} -I macros || giveup
 echo "* Running ${AUTOCONF} (${AUTOCONF_VER})"
 ${AUTOCONF} || giveup
 
+# Work around an autoconf bug insisting in having this file
+touch build-aux/config.rpath
+
 if test -f "${PWD}/configure"; then
     echo "======================================"
     echo "Now you are ready to run './configure'"
diff --git a/liblwgeom/cunit/cu_measures.c b/liblwgeom/cunit/cu_measures.c
index bc8f666..a149b08 100644
--- a/liblwgeom/cunit/cu_measures.c
+++ b/liblwgeom/cunit/cu_measures.c
@@ -206,7 +206,7 @@ static void test_mindistance2d_tolerance(void)
 	*/
 	DIST2DTEST(
 		"CURVEPOLYGON(CIRCULARSTRING(7874821 8715927,8907663 8715927,8844683 7750316,7937800 7750316,7874821 8715927))",
-		"POINT(5433865 8243495)", 2271704.2698450615, default_accepted_error);
+		"POINT(5433865 8243495)", 2271704.2698450615);
 }
 
 static void

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

Summary of changes:
 NEWS                          | 1 +
 autogen.sh                    | 9 ++++++---
 liblwgeom/cunit/cu_measures.c | 2 +-
 3 files changed, 8 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
PostGIS


More information about the postgis-tickets mailing list