[osmctools] 06/07: Add patch to fix spelling errors.

Bas Couwenberg sebastic at debian.org
Fri Sep 22 15:41:18 UTC 2017


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

sebastic pushed a commit to branch master
in repository osmctools.

commit 63de74860a72ae1d1ace9b7885e9b72a1e930124
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Fri Sep 22 17:19:59 2017 +0200

    Add patch to fix spelling errors.
---
 debian/changelog                     |  1 +
 debian/docs/osmupdate.1              |  4 ++--
 debian/patches/series                |  1 +
 debian/patches/spelling-errors.patch | 36 ++++++++++++++++++++++++++++++++++++
 4 files changed, 40 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 2106e1e..557e340 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ osmctools (0.8-1) UNRELEASED; urgency=medium
   * Fix watch file for recent changes to GitLab HTML.
   * Bump Standards-Version to 4.1.0, no changes.
   * Add autopkgtest to test installability.
+  * Add patch to fix spelling errors.
 
  -- Bas Couwenberg <sebastic at debian.org>  Fri, 22 Sep 2017 17:06:22 +0200
 
diff --git a/debian/docs/osmupdate.1 b/debian/docs/osmupdate.1
index cd75bde..d4fdd87 100644
--- a/debian/docs/osmupdate.1
+++ b/debian/docs/osmupdate.1
@@ -63,9 +63,9 @@ The subprogram osmconvert is able to merge more than two
 changefiles in one run. This ability increases merging speed.
 Unfortunately, every changefile consumes about 200 MB of main
 memory while being processed. For this reason, the number of
-parallely processable changefiles is limited.
+parallelly processable changefiles is limited.
 Use this commandline argument to determine the maximum number
-of parallely processed changefiles. The default value is 7.
+of parallelly processed changefiles. The default value is 7.
 .PP
 \fB\-t\fR=\fITEMPPATH\fR
 \fB\-\-tempfiles\fR=\fITEMPPATH\fR
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..38edaa7
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+spelling-errors.patch
diff --git a/debian/patches/spelling-errors.patch b/debian/patches/spelling-errors.patch
new file mode 100644
index 0000000..8a23c92
--- /dev/null
+++ b/debian/patches/spelling-errors.patch
@@ -0,0 +1,36 @@
+Description: Fix spelling errors.
+ * parallely -> parallelly
+Author: Bas Couwenberg <sebastic at debian.org>
+
+--- a/src/osmupdate.c
++++ b/src/osmupdate.c
+@@ -111,9 +111,9 @@ const char* helptext=
+ "        changefiles in one run. This ability increases merging speed.\n"
+ "        Unfortunately, every changefile consumes about 200 MB of main\n"
+ "        memory while being processed. For this reason, the number of\n"
+-"        parallely processable changefiles is limited.\n"
++"        parallelly processable changefiles is limited.\n"
+ "        Use this commandline argument to determine the maximum number\n"
+-"        of parallely processed changefiles. The default value is 7.\n"
++"        of parallelly processed changefiles. The default value is 7.\n"
+ "\n"
+ "-t=TEMPPATH\n"
+ "--tempfiles=TEMPPATH\n"
+@@ -511,7 +511,7 @@ static char global_osmconvert_arguments[
+   // general command line arguments for osmconvert;
+ #define max_number_of_changefiles_in_cache 100
+ static int global_max_merge= 7;
+-  // maximum number of parallely processed changefiles
++  // maximum number of parallelly processed changefiles
+ static const char* global_gzip_parameters= "";
+   // parameters for gzip compression
+ static char global_base_url[400]=
+@@ -1199,7 +1199,7 @@ return 0;
+   continue;  // take next parameter
+       }
+     if(strzcmp(a,"--max-merge=")==0) {
+-        // maximum number of parallely processed changefiles
++        // maximum number of parallelly processed changefiles
+       global_max_merge= strtouint32(a+12);
+       if(global_max_merge<2) {
+         global_max_merge= 2;

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



More information about the Pkg-grass-devel mailing list