[osrm] 06/07: Update spelling-errors.patch to fix 'coordinates' typo.

Bas Couwenberg sebastic at debian.org
Tue Oct 4 15:14:58 UTC 2016


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

sebastic pushed a commit to branch master
in repository osrm.

commit de396f71a02eca8e40d1acf06e05979b1b5c8d61
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Tue Oct 4 17:00:16 2016 +0200

    Update spelling-errors.patch to fix 'coordinates' typo.
---
 debian/changelog                     |  1 +
 debian/patches/spelling-errors.patch | 36 +++++++++++++++++++++++++++++++++++-
 2 files changed, 36 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index a42cefe..a1c4a28 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ osrm (5.4.0+ds-1) UNRELEASED; urgency=medium
   * New upstream release.
   * Update watch file to ignore pre-releases.
   * Refresh patches.
+  * Update spelling-errors.patch to fix 'coordinates' typo.
 
  -- Bas Couwenberg <sebastic at debian.org>  Tue, 04 Oct 2016 16:29:43 +0200
 
diff --git a/debian/patches/spelling-errors.patch b/debian/patches/spelling-errors.patch
index ea2a242..d9b69de 100644
--- a/debian/patches/spelling-errors.patch
+++ b/debian/patches/spelling-errors.patch
@@ -1,5 +1,6 @@
 Description: Fix spelling errors.
- initalization -> initialization
+ * initalization -> initialization
+ * coodinates    -> coordinates
 Author: Bas Couwenberg <sebastic at debian.org>
 
 --- a/include/contractor/graph_contractor.hpp
@@ -13,3 +14,36 @@ Author: Bas Couwenberg <sebastic at debian.org>
      }
  
      void Run(double core_factor = 1.0)
+--- a/include/engine/api/table_parameters.hpp
++++ b/include/engine/api/table_parameters.hpp
+@@ -75,7 +75,7 @@ struct TableParameters : public BasePara
+         if (!BaseParameters::IsValid())
+             return false;
+ 
+-        // Distance Table makes only sense with 2+ coodinates
++        // Distance Table makes only sense with 2+ coordinates
+         if (coordinates.size() < 2)
+             return false;
+ 
+--- a/include/engine/hint.hpp
++++ b/include/engine/hint.hpp
+@@ -47,7 +47,7 @@ namespace datafacade
+ class BaseDataFacade;
+ }
+ 
+-// Is returned as a temporary identifier for snapped coodinates
++// Is returned as a temporary identifier for snapped coordinates
+ struct Hint
+ {
+     PhantomNode phantom;
+--- a/src/server/service/tile_service.cpp
++++ b/src/server/service/tile_service.cpp
+@@ -37,7 +37,7 @@ engine::Status TileService::RunQuery(std
+         result = util::json::Object();
+         auto &json_result = result.get<util::json::Object>();
+         json_result.values["code"] = "InvalidOptions";
+-        json_result.values["message"] = "Invalid coodinates. Only zoomlevel 12+ is supported";
++        json_result.values["message"] = "Invalid coordinates. Only zoomlevel 12+ is supported";
+         return engine::Status::Error;
+     }
+     BOOST_ASSERT(parameters->IsValid());

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



More information about the Pkg-grass-devel mailing list