[spatialite] 03/04: Add patch to fix 'occurrence' typo.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Wed Dec 9 23:54:46 UTC 2015


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

sebastic pushed a commit to branch master
in repository spatialite.

commit 56d1aa4393f9b3314520396fb93159e852c81bf0
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Thu Dec 10 00:37:27 2015 +0100

    Add patch to fix 'occurrence' typo.
---
 debian/changelog                     |  1 +
 debian/patches/occurrence-typo.patch | 44 ++++++++++++++++++++++++++++++++++++
 debian/patches/series                |  1 +
 3 files changed, 46 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index e7fcb3b..0693efd 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ spatialite (4.3.0a-2) UNRELEASED; urgency=medium
 
   * Require at least liblwgeom-dev 2.2.0 for postgis mini-transition.
   * Drop unused BASE_URL variable from rules file.
+  * Add patch to fix 'occurrence' typo.
 
  -- Bas Couwenberg <sebastic at debian.org>  Wed, 09 Dec 2015 23:19:36 +0100
 
diff --git a/debian/patches/occurrence-typo.patch b/debian/patches/occurrence-typo.patch
new file mode 100644
index 0000000..d9b1468
--- /dev/null
+++ b/debian/patches/occurrence-typo.patch
@@ -0,0 +1,44 @@
+Description: Fix 'occurence' typo, replace with 'occurrence'.
+Author: Bas Couwenberg <sebastic at debian.org>
+Forwarded: https://groups.google.com/d/msg/spatialite-users/L5StBh5nou0/rrc154fgDQAJ
+
+--- a/src/headers/spatialite.h
++++ b/src/headers/spatialite.h
+@@ -711,7 +711,7 @@ extern "C"
+ 
+  \sa check_duplicated_rows, remove_duplicated_rows_ex
+ 
+- \note when two (or more) duplicated rows exist, only the first occurence
++ \note when two (or more) duplicated rows exist, only the first occurrence
+  will be preserved, then deleting any further occurrence.
+  */
+     SPATIALITE_DECLARE void remove_duplicated_rows (sqlite3 * sqlite,
+@@ -727,7 +727,7 @@ extern "C"
+ 
+  \sa check_duplicated_rows, remove_duplicated_rows_ex2
+ 
+- \note when two (or more) duplicated rows exist, only the first occurence
++ \note when two (or more) duplicated rows exist, only the first occurrence
+  will be preserved, then deleting any further occurrence.
+  */
+     SPATIALITE_DECLARE void remove_duplicated_rows_ex (sqlite3 * sqlite,
+@@ -746,7 +746,7 @@ extern "C"
+ 
+  \sa check_duplicated_rows, remove_duplicated_rows
+ 
+- \note when two (or more) duplicated rows exist, only the first occurence
++ \note when two (or more) duplicated rows exist, only the first occurrence
+  will be preserved, then deleting any further occurrence.
+  */
+     SPATIALITE_DECLARE void remove_duplicated_rows_ex2 (sqlite3 * sqlite,
+--- a/src/shapefiles/shapefiles.c
++++ b/src/shapefiles/shapefiles.c
+@@ -684,7 +684,7 @@ load_shapefile_ex2 (sqlite3 * sqlite, ch
+ 		xdummy = sqlite3_mprintf ("COL_%d", seed++);
+ 		spatialite_e
+ 		    ("Warning: duplicated fieldName \"%s\" in shapefile \"%s\": "
+-		     "renaming the second occurence in table \"%s\" as \"%s\".\n",
++		     "renaming the second occurrence in table \"%s\" as \"%s\".\n",
+ 		     dummy, shp_path, table, xdummy);
+ 		dummy = xdummy;
+ 	    }
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..1d6781b
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+occurrence-typo.patch

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



More information about the Pkg-grass-devel mailing list