[sosi2osm] 03/03: Add patch to fix spelling errors.

Bas Couwenberg sebastic at debian.org
Thu Feb 8 21:27:34 UTC 2018


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

sebastic pushed a commit to branch master
in repository sosi2osm.

commit d42f2cd836a9bc6cc9c7d31cec05382849a520cb
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Thu Feb 8 22:26:39 2018 +0100

    Add patch to fix spelling errors.
---
 debian/changelog                     |  1 +
 debian/patches/series                |  1 +
 debian/patches/spelling-errors.patch | 15 +++++++++++++++
 3 files changed, 17 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 6643999..6a26104 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ sosi2osm (1.0.0-4) UNRELEASED; urgency=medium
   * Update copyright-format URL to use HTTPS.
   * Bump Standards-Version to 4.1.3, no changes.
   * Add autopkgtest to test installability.
+  * Add patch to fix spelling errors.
 
  -- Bas Couwenberg <sebastic at debian.org>  Thu, 01 Sep 2016 14:42:41 +0200
 
diff --git a/debian/patches/series b/debian/patches/series
index b53c55d..dc81fde 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 01_fix_libsearchpath.patch
 02_fix_install.patch
 std-max.patch
+spelling-errors.patch
diff --git a/debian/patches/spelling-errors.patch b/debian/patches/spelling-errors.patch
new file mode 100644
index 0000000..f5fdd87
--- /dev/null
+++ b/debian/patches/spelling-errors.patch
@@ -0,0 +1,15 @@
+Description: Fix spelling errors.
+ * coodinate -> coordinate
+Author: Bas Couwenberg <sebastic at debian.org>
+
+--- a/sosi.cpp
++++ b/sosi.cpp
+@@ -98,7 +98,7 @@ const char* getCoordinateSystem() {
+         /* WSG84 */
+         case 84: return "+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs ";
+         default: {
+-            fprintf(stderr, "(Yet) unsupported coodinate system in SOSI-file: %i. Defaulting to EPSG:4326.", trans.sKoordsys);
++            fprintf(stderr, "(Yet) unsupported coordinate system in SOSI-file: %i. Defaulting to EPSG:4326.", trans.sKoordsys);
+             return "+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs ";
+         }
+     }

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



More information about the Pkg-grass-devel mailing list