[liblas] 13/15: Add patch to support GNU/Hurd 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 b0428bc9fc004a29ec55c9eecc748f76b15c9b71
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Mon Aug 22 21:50:35 2016 +0200
Add patch to support GNU/Hurd in las2col & las2pg.
---
debian/changelog | 1 +
debian/patches/hurd.patch | 26 ++++++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 28 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index e2a26d0..d53cd3c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -11,6 +11,7 @@ liblas (1.8.1~rc1-1) UNRELEASED; urgency=medium
* Install las2col & las2pg in liblas-bin.
* Add patch to fix spelling errors.
* Add patch to support GNU/kFreeBSD in las2col & las2pg.
+ * Add patch to support GNU/Hurd in las2col & las2pg.
-- Bas Couwenberg <sebastic at debian.org> Mon, 22 Aug 2016 15:42:02 +0200
diff --git a/debian/patches/hurd.patch b/debian/patches/hurd.patch
new file mode 100644
index 0000000..54d5dc5
--- /dev/null
+++ b/debian/patches/hurd.patch
@@ -0,0 +1,26 @@
+Description: Add support for GNU/Hurd.
+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__) || defined(__FreeBSD_kernel__)
++#if defined(__linux__) || defined(__CYGWIN__) || defined(__FreeBSD_kernel__) || defined(__GNU__)
+
+ #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__) || defined(__FreeBSD_kernel__)
++#if defined(__linux__) || defined(__CYGWIN__) || defined(__FreeBSD_kernel__) || defined(__GNU__)
+
+ # include <endian.h>
+
diff --git a/debian/patches/series b/debian/patches/series
index 91f011e..8d9e8b4 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
offset-typo.patch
spelling-errors.patch
kfreebsd.patch
+hurd.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