[liblas] 12/15: Add patch to support GNU/kFreeBSD in las2col & las2pg.

Bas Couwenberg sebastic at debian.org
Mon Aug 22 20:44:34 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 349af1d34be097eadef2224984428844c090658f
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Mon Aug 22 21:48:07 2016 +0200

    Add patch to support GNU/kFreeBSD in las2col & las2pg.
---
 debian/changelog              |  1 +
 debian/patches/kfreebsd.patch | 26 ++++++++++++++++++++++++++
 debian/patches/series         |  1 +
 3 files changed, 28 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index d569e87..e2a26d0 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,6 +10,7 @@ liblas (1.8.1~rc1-1) UNRELEASED; urgency=medium
   * Update symbols for amd64.
   * Install las2col & las2pg in liblas-bin.
   * Add patch to fix spelling errors.
+  * Add patch to support GNU/kFreeBSD in las2col & las2pg.
 
  -- Bas Couwenberg <sebastic at debian.org>  Mon, 22 Aug 2016 15:42:02 +0200
 
diff --git a/debian/patches/kfreebsd.patch b/debian/patches/kfreebsd.patch
new file mode 100644
index 0000000..7ea83a0
--- /dev/null
+++ b/debian/patches/kfreebsd.patch
@@ -0,0 +1,26 @@
+Description: Add support for GNU/kFreeBSD.
+Author: Bas Couwenberg <sebastic at debian.org>
+Forwarded: https://github.com/libLAS/libLAS/pull/96
+
+--- a/apps/las2col.c
++++ b/apps/las2col.c
+@@ -24,7 +24,7 @@
+ 
+ #include <limits.h>
+ #include <inttypes.h>
+-#if defined(__linux__) || defined(__CYGWIN__)
++#if defined(__linux__) || defined(__CYGWIN__) || defined(__FreeBSD_kernel__)
+ 
+ #include <endian.h>
+ #include <unistd.h>
+--- a/apps/las2pg.c
++++ b/apps/las2pg.c
+@@ -20,7 +20,7 @@
+ #include <stdint.h>
+ #include <limits.h>
+ #include <inttypes.h>
+-#if defined(__linux__) || defined(__CYGWIN__)
++#if defined(__linux__) || defined(__CYGWIN__) || defined(__FreeBSD_kernel__)
+ 
+ #	include <endian.h>
+ 
diff --git a/debian/patches/series b/debian/patches/series
index 27ae072..91f011e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 offset-typo.patch
 spelling-errors.patch
+kfreebsd.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