[pdal] 07/09: Add patch to fix build without LASzip.
Bas Couwenberg
sebastic at debian.org
Mon Apr 3 19:25:27 UTC 2017
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch master
in repository pdal.
commit 6e4738f688e69fdf7c4f0924b120e858483fec26
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Mon Apr 3 21:00:20 2017 +0200
Add patch to fix build without LASzip.
---
debian/changelog | 1 +
debian/patches/laszip.patch | 19 +++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 21 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 88e6a74..aea8195 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,7 @@ pdal (1.5.0~rc1-1) UNRELEASED; urgency=medium
* Enable PIE hardening buildflags.
* Drop kfreebsd.patch, applied upstream.
* Drop 0001-Add-include.-Should-fix-1484.patch, included upstream.
+ * Add patch to fix build without LASzip.
-- Bas Couwenberg <sebastic at debian.org> Mon, 03 Apr 2017 20:31:31 +0200
diff --git a/debian/patches/laszip.patch b/debian/patches/laszip.patch
new file mode 100644
index 0000000..82daed5
--- /dev/null
+++ b/debian/patches/laszip.patch
@@ -0,0 +1,19 @@
+Description: Fix build without LASzip.
+Author: Bas Couwenberg <sebastic at debian.org>
+
+--- a/cmake/laszip.cmake
++++ b/cmake/laszip.cmake
+@@ -17,9 +17,13 @@ if(WITH_LASZIP)
+ set(PDAL_HAVE_LASZIP 1)
+ if(NOT WITH_STATIC_LASZIP AND WIN32)
+ set(LASZIP_DEFINES "-DLASZIP_DLL_IMPORT=1")
++ else()
++ set(LASZIP_DEFINES "")
+ endif()
+ else()
+ set(LASZIP_LIBRARY "")
++ set(LASZIP_INCLUDE_DIR "")
++ set(LASZIP_LASZIP_DEFINES "")
+ set(WITH_LASZIP FALSE)
+ endif()
+ else()
diff --git a/debian/patches/series b/debian/patches/series
index 080f495..9ffee90 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
privacy-breach.patch
disable-sphinxcontrib-bibtex.patch
use-mathjax-package.patch
+laszip.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/pdal.git
More information about the Pkg-grass-devel
mailing list