[liblas] 07/15: Add patch to fix 'offset' typo.

Bas Couwenberg sebastic at debian.org
Mon Aug 22 20:44:33 UTC 2016


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

sebastic pushed a commit to branch master
in repository liblas.

commit f24a8a4f700631ae8c64e482d5fa2dc5e5185d4b
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Mon Aug 22 16:18:03 2016 +0200

    Add patch to fix 'offset' typo.
---
 debian/changelog                 |  1 +
 debian/patches/offset-typo.patch | 16 ++++++++++++++++
 debian/patches/series            |  1 +
 3 files changed, 18 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index dc95c2e..c2e4014 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -6,6 +6,7 @@ liblas (1.8.1~rc1-1) UNRELEASED; urgency=medium
   * Update copyright file, changes:
     - Add license & copyright for las2col.c & las2pg.c
     - Rename MIT license shortname to Expat
+  * Add patch to fix 'offset' typo.
 
  -- Bas Couwenberg <sebastic at debian.org>  Mon, 22 Aug 2016 15:42:02 +0200
 
diff --git a/debian/patches/offset-typo.patch b/debian/patches/offset-typo.patch
new file mode 100644
index 0000000..3829016
--- /dev/null
+++ b/debian/patches/offset-typo.patch
@@ -0,0 +1,16 @@
+Description: Fix 'offets' typo, replace with 'offset'.
+Author: Bas Couwenberg <sebastic at debian.org>
+Forwarded: https://github.com/libLAS/libLAS/pull/95
+Applied-Upstream: https://github.com/libLAS/libLAS/commit/f07e58f8e0c244194b162c262bc46f1dc75602a0
+
+--- a/apps/las2las.cpp
++++ b/apps/las2las.cpp
+@@ -342,7 +342,7 @@ int main(int argc, char* argv[])
+         if (vm.count("min-offset")) 
+         {
+             if (vm.count("offset")) {
+-                throw std::runtime_error("min-offset cannot be used with offets.  Use one or the other");
++                throw std::runtime_error("min-offset cannot be used with offset.  Use one or the other");
+             }
+             
+             bMinOffset = true;
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..b1e65e6
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+offset-typo.patch

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



More information about the Pkg-grass-devel mailing list