[pdal] 01/01: Add patch for kFreeBSD support.

Bas Couwenberg sebastic at debian.org
Fri Dec 16 10:58:57 UTC 2016


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

sebastic pushed a commit to branch master
in repository pdal.

commit 6a2a4de4141e94cb65b2ec62e66ab3fca4a8b147
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Fri Dec 16 11:40:43 2016 +0100

    Add patch for kFreeBSD support.
---
 debian/changelog              |  6 ++++++
 debian/patches/kfreebsd.patch | 15 +++++++++++++++
 debian/patches/series         |  1 +
 3 files changed, 22 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 3eb9263..8614933 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+pdal (1.4.0-1~exp2) UNRELEASED; urgency=medium
+
+  * Add patch for kFreeBSD support.
+
+ -- Bas Couwenberg <sebastic at debian.org>  Fri, 16 Dec 2016 11:40:40 +0100
+
 pdal (1.4.0-1~exp1) experimental; urgency=medium
 
   * New upstream release.
diff --git a/debian/patches/kfreebsd.patch b/debian/patches/kfreebsd.patch
new file mode 100644
index 0000000..cc2ad6d
--- /dev/null
+++ b/debian/patches/kfreebsd.patch
@@ -0,0 +1,15 @@
+Description: Add support for GNU/kFreeBSD.
+Author: Bas Couwenberg <sebastic at debian.org>
+Forwarded: https://github.com/PDAL/PDAL/pull/1447
+
+--- a/pdal/PluginManager.cpp
++++ b/pdal/PluginManager.cpp
+@@ -60,7 +60,7 @@ static PluginManager s_instance;
+ 
+ #if defined(__APPLE__) && defined(__MACH__)
+     const std::string dynamicLibraryExtension(".dylib");
+-#elif defined(__linux__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__GNU__)
++#elif defined(__linux__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__FreeBSD_kernel__) || defined(__GNU__)
+     const std::string dynamicLibraryExtension(".so");
+ #elif defined _WIN32
+     const std::string dynamicLibraryExtension(".dll");
diff --git a/debian/patches/series b/debian/patches/series
index 080f495..9a0779f 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 privacy-breach.patch
 disable-sphinxcontrib-bibtex.patch
 use-mathjax-package.patch
+kfreebsd.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