[libcitygml] 02/03: Add patch for 'occurred' typo.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Sat Feb 6 23:42:11 UTC 2016


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

sebastic pushed a commit to branch master
in repository libcitygml.

commit 4cac82811bc71bd9fd7fda504669cc9337d56fa0
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Sun Feb 7 00:35:08 2016 +0100

    Add patch for 'occurred' typo.
---
 debian/changelog                   |  1 +
 debian/patches/occurred-typo.patch | 34 ++++++++++++++++++++++++++++++++++
 debian/patches/series              |  1 +
 3 files changed, 36 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index d1f4482..3d4d1ba 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 libcitygml (2.0-2) UNRELEASED; urgency=medium
 
   * Update Vcs-Git URL to use HTTPS.
+  * Add patch for 'occurred' typo.
 
  -- Bas Couwenberg <sebastic at debian.org>  Fri, 05 Feb 2016 20:30:33 +0100
 
diff --git a/debian/patches/occurred-typo.patch b/debian/patches/occurred-typo.patch
new file mode 100644
index 0000000..e269a50
--- /dev/null
+++ b/debian/patches/occurred-typo.patch
@@ -0,0 +1,34 @@
+Description: Fix 'occured' typo, replace with 'occurred'.
+Author: Bas Couwenberg <sebastic at debian.org>
+Forwarded: https://github.com/jklimke/libcitygml/pull/23
+
+--- a/sources/src/parser/parserxercesc.cpp
++++ b/sources/src/parser/parserxercesc.cpp
+@@ -258,7 +258,7 @@ namespace citygml
+             xerces_init_mutex.unlock();
+         }
+         catch (const xercesc::XMLException& e) {
+-            CITYGML_LOG_ERROR(logger, "Could not initialize xercesc XMLPlatformUtils, a XML Exception occured : " << toStdString(e.getMessage()));
++            CITYGML_LOG_ERROR(logger, "Could not initialize xercesc XMLPlatformUtils, a XML Exception occurred : " << toStdString(e.getMessage()));
+             return false;
+         }
+ 
+@@ -286,15 +286,15 @@ namespace citygml
+         }
+         catch ( const xercesc::XMLException& e )
+         {
+-            CITYGML_LOG_ERROR(logger, "XML Exception occured: " << toStdString(e.getMessage()));
++            CITYGML_LOG_ERROR(logger, "XML Exception occurred: " << toStdString(e.getMessage()));
+         }
+         catch ( const xercesc::SAXParseException& e )
+         {
+-            CITYGML_LOG_ERROR(logger, "SAXParser Exception occured: " << toStdString(e.getMessage()));
++            CITYGML_LOG_ERROR(logger, "SAXParser Exception occurred: " << toStdString(e.getMessage()));
+         }
+         catch ( const std::exception& e )
+         {
+-            CITYGML_LOG_ERROR(logger, "Unexpected Exception occured: " << e.what());
++            CITYGML_LOG_ERROR(logger, "Unexpected Exception occurred: " << e.what());
+         }
+ #endif
+ 
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..ab8fb4c
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+occurred-typo.patch

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



More information about the Pkg-grass-devel mailing list