[postgis] 01/02: Add patches for various typos.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Sun Feb 7 02:25:55 UTC 2016


This is an automated email from the git hooks/post-receive script.

sebastic pushed a commit to branch master
in repository postgis.

commit 14fc8e7e91e787d9781f7da69758e0f8896df779
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sun Feb 7 02:47:49 2016 +0100

    Add patches for various typos.
---
 debian/changelog                    |  1 +
 debian/patches/acquire-typo.patch   | 26 ++++++++++++++++++++++++++
 debian/patches/series               |  2 ++
 debian/patches/transform-typo.patch | 37 +++++++++++++++++++++++++++++++++++++
 4 files changed, 66 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 0e6a5ff..2e2dd62 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ postgis (2.2.1+dfsg-3) UNRELEASED; urgency=medium
   * Skip tests on hppa, fails the tickets and wkb tests because of different
     NaN representations.
     (closes: #813846)
+  * Add patches for various typos.
 
  -- Bas Couwenberg <sebastic at debian.org>  Fri, 05 Feb 2016 23:58:59 +0100
 
diff --git a/debian/patches/acquire-typo.patch b/debian/patches/acquire-typo.patch
new file mode 100644
index 0000000..648ecee
--- /dev/null
+++ b/debian/patches/acquire-typo.patch
@@ -0,0 +1,26 @@
+Description: Fix 'aquire' typo, replace with 'acquire'.
+Author: Bas Couwenberg <sebastic at debian.org>
+Forwarded: https://trac.osgeo.org/postgis/ticket/3449
+
+--- a/extras/WFS_locks/WFS_locks.c
++++ b/extras/WFS_locks/WFS_locks.c
+@@ -137,7 +137,7 @@ Datum check_authorization(PG_FUNCTION_AR
+ 
+ 	SPIcode = SPI_exec(query,0);
+ 	if (SPIcode != SPI_OK_SELECT )
+-		elog(ERROR, "couldnt execute to test for lock aquire: %s", query);
++		elog(ERROR, "couldnt execute to test for lock acquire: %s", query);
+ 
+ 	if (SPI_processed >0)
+ 	{
+--- a/postgis/long_xact.c
++++ b/postgis/long_xact.c
+@@ -143,7 +143,7 @@ Datum check_authorization(PG_FUNCTION_AR
+ 
+ 	SPIcode = SPI_exec(query,0);
+ 	if (SPIcode != SPI_OK_SELECT )
+-		elog(ERROR, "couldnt execute to test for lock aquire: %s", query);
++		elog(ERROR, "couldnt execute to test for lock acquire: %s", query);
+ 
+ 	if (SPI_processed >0)
+ 	{
diff --git a/debian/patches/series b/debian/patches/series
index 2ccdc94..b32a43c 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,5 @@ link-liblwgeom
 hppa.patch
 relax-test-timing-constraints.patch
 avoid-any-drift-of-cutter-point-on-lines-split.patch
+acquire-typo.patch
+transform-typo.patch
diff --git a/debian/patches/transform-typo.patch b/debian/patches/transform-typo.patch
new file mode 100644
index 0000000..b083971
--- /dev/null
+++ b/debian/patches/transform-typo.patch
@@ -0,0 +1,37 @@
+Description: Fix 'tranform' typo, replace with 'transform'.
+Author: Bas Couwenberg <sebastic at debian.org>
+Forwarded: https://trac.osgeo.org/postgis/ticket/3449
+
+--- a/ChangeLog
++++ b/ChangeLog
+@@ -51126,7 +51126,7 @@
+ 
+ 	* Applied "Mark Cave-Ayland" <mark.cave-ayland at webbased.co.uk>'s
+ 	  patch so
+-	  transform() will correctly tranform BBOX only geometries.
++	  transform() will correctly transform BBOX only geometries.
+ 
+ 2002-09-03 15:31  pramsey
+ 
+--- a/doc/xsl/postgis_aggs_mm.xml.xsl
++++ b/doc/xsl/postgis_aggs_mm.xml.xsl
+@@ -81,7 +81,7 @@
+ 			<title>PostGIS Geography Support Functions</title>
+ 			<para>The functions and operators given below are PostGIS functions/operators that take as input or return as output a <link linkend="PostGIS_Geography">geography</link> data type object.</para>
+ 			<note><para>Functions with a (T) are not native geodetic functions, and use a ST_Transform call to and from geometry to do the operation.  As a result, they may not behave as expected when going over dateline, poles, 
+-				and for large geometries or geometry pairs that cover more than one UTM zone. Basic tranform - (favoring UTM, Lambert Azimuthal (North/South), and falling back on mercator in worst case scenario)</para></note>
++				and for large geometries or geometry pairs that cover more than one UTM zone. Basic transform - (favoring UTM, Lambert Azimuthal (North/South), and falling back on mercator in worst case scenario)</para></note>
+ 				<itemizedlist>
+ 			<!-- Pull out the purpose section for each ref entry and strip whitespace and put in a variable to be tagged unto each function comment  -->
+ 				<xsl:for-each select='//refentry'>
+--- a/postgis/lwgeom_transform.c
++++ b/postgis/lwgeom_transform.c
+@@ -114,7 +114,7 @@ Datum transform_geom(PG_FUNCTION_ARGS)
+ 	result_srid = PG_GETARG_INT32(3);
+ 	if (result_srid == SRID_UNKNOWN)
+ 	{
+-		elog(ERROR,"tranform: destination SRID = %d",SRID_UNKNOWN);
++		elog(ERROR,"transform: destination SRID = %d",SRID_UNKNOWN);
+ 		PG_RETURN_NULL();
+ 	}
+ 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/postgis.git



More information about the Pkg-grass-devel mailing list