[gdal] 02/03: Add patches for 'formatted' & 'Remaining' typos.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Tue Mar 1 21:32:54 UTC 2016


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

sebastic pushed a commit to branch master
in repository gdal.

commit cab06b0a2ac0b302755e97d6e2cb77607db20ed9
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Tue Mar 1 21:47:17 2016 +0100

    Add patches for 'formatted' & 'Remaining' typos.
---
 debian/changelog                    |  2 ++
 debian/patches/formatted-typo.patch | 57 +++++++++++++++++++++++++++++++++++++
 debian/patches/remaining-typo.patch | 15 ++++++++++
 debian/patches/series               |  2 ++
 4 files changed, 76 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 1a426c6..0ae5722 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,8 @@
 gdal (2.0.2+dfsg-1~exp3) UNRELEASED; urgency=medium
 
   * Update symbols for hurd-i386 & x32.
+  * Add patches for 'formatted' & 'Remaining' typos.
+  * Move from experimental to unstable.
 
  -- Bas Couwenberg <sebastic at debian.org>  Sat, 20 Feb 2016 00:23:55 +0100
 
diff --git a/debian/patches/formatted-typo.patch b/debian/patches/formatted-typo.patch
new file mode 100644
index 0000000..8c75147
--- /dev/null
+++ b/debian/patches/formatted-typo.patch
@@ -0,0 +1,57 @@
+Description: Fix 'formated' typo, replace with 'formatted'.
+Author: Bas Couwenberg <sebastic at debian.org>
+Forwarded: not-needed
+
+--- a/frmts/grib/degrib18/degrib/clock.c
++++ b/frmts/grib/degrib18/degrib/clock.c
+@@ -902,7 +902,7 @@ void Clock_PrintDate (double clock, sInt
+  * Arthur Taylor / MDL
+  *
+  * PURPOSE
+- *   To create formated output from a time structure that is stored as a
++ *   To create formatted output from a time structure that is stored as a
+  * double.
+  *
+  * ARGUMENTS
+@@ -983,7 +983,7 @@ void Clock_Print (char *buffer, int n, d
+  * Arthur Taylor / MDL
+  *
+  * PURPOSE
+- *   To create formated output from a time structure that is stored as a
++ *   To create formatted output from a time structure that is stored as a
+  * double.  This is similar to Clock_Print, except it bases the timezone
+  * shift on what the user supplies rather than the system timezone, and
+  * accepts a flag that indicates whether to inquire about daylight savings.
+--- a/frmts/grib/degrib18/degrib/myutil.c
++++ b/frmts/grib/degrib18/degrib/myutil.c
+@@ -1081,7 +1081,7 @@ int myParseTime3 (const char *is, time_t
+    memset (&time, 0, sizeof (struct tm));
+    myAssert (strlen (is) == 14);
+    if (strlen (is) != 14) {
+-      printf ("%s is not formated correctly\n", is);
++      printf ("%s is not formatted correctly\n", is);
+       return 1;
+    }
+    strncpy (buffer, is, 4);
+--- a/gcore/gdalmajorobject.cpp
++++ b/gcore/gdalmajorobject.cpp
+@@ -226,7 +226,7 @@ GDALGetMetadataDomainList( GDALMajorObje
+  * \brief Fetch metadata.
+  *
+  * The returned string list is owned by the object, and may change at
+- * any time.  It is formated as a "Name=value" list with the last pointer
++ * any time.  It is formatted as a "Name=value" list with the last pointer
+  * value being NULL.  Use the the CPL StringList functions such as 
+  * CSLFetchNameValue() to manipulate it. 
+  *
+--- a/swig/java/add_javadoc.c
++++ b/swig/java/add_javadoc.c
+@@ -29,7 +29,7 @@
+ *******************************************************************************/
+ 
+ /* NOTE : this is really a quick and very dirty hack to put the javadoc contained */
+-/* in a special formated file, javadoc.java, into the SWIG generated java files */
++/* in a special formatted file, javadoc.java, into the SWIG generated java files */
+ /* This program leaks memory and would crash easily on unexpected inputs */
+ 
+ #include <stdio.h>
diff --git a/debian/patches/remaining-typo.patch b/debian/patches/remaining-typo.patch
new file mode 100644
index 0000000..0196d4b
--- /dev/null
+++ b/debian/patches/remaining-typo.patch
@@ -0,0 +1,15 @@
+Description: Fix 'Remaing' typo, replace with 'Remaining'.
+Author: Bas Couwenberg <sebastic at debian.org>
+Forwarded: not-needed
+
+--- a/frmts/pdf/pdfreadvectors.cpp
++++ b/frmts/pdf/pdfreadvectors.cpp
+@@ -1166,7 +1166,7 @@ OGRGeometry* PDFDataset::ParseContent(co
+         {
+             nTokenStackSize--;
+             CPLDebug("PDF",
+-                     "Remaing values in stack : %s",
++                     "Remaining values in stack : %s",
+                      aszTokenStack[nTokenStackSize]);
+         }
+         return  NULL;
diff --git a/debian/patches/series b/debian/patches/series
index 69ae111..2bd45c1 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -18,3 +18,5 @@ instantiate-typo.patch
 supported-typo.patch
 transform-typo.patch
 sqlite-3.10.0
+formatted-typo.patch
+remaining-typo.patch

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



More information about the Pkg-grass-devel mailing list