[pdal] 02/04: Add patch for further kFreeBSD support.
Sebastiaan Couwenberg
sebastic at moszumanska.debian.org
Tue Mar 22 06:59:38 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 452ac5a4502dc33288b6b03a8859cfdaea1a3445
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Mon Mar 21 11:27:59 2016 +0100
Add patch for further kFreeBSD support.
---
debian/changelog | 6 ++++++
debian/patches/kfreebsd2.patch | 26 ++++++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 33 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 77b04c7..b153ca8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+pdal (1.1.0-3) UNRELEASED; urgency=medium
+
+ * Add patch for further kFreeBSD support.
+
+ -- Bas Couwenberg <sebastic at debian.org> Mon, 21 Mar 2016 11:27:43 +0100
+
pdal (1.1.0-2) unstable; urgency=medium
* Add patch to fix FTBFS on big endian architectures.
diff --git a/debian/patches/kfreebsd2.patch b/debian/patches/kfreebsd2.patch
new file mode 100644
index 0000000..2833c45
--- /dev/null
+++ b/debian/patches/kfreebsd2.patch
@@ -0,0 +1,26 @@
+Description: Add support for kFreeBSD to PluginManager and other sources.
+Author: Bas Couwenberg <sebastic at debian.org>
+Forwarded: https://github.com/PDAL/PDAL/pull/1189
+
+--- a/src/PluginManager.cpp
++++ b/src/PluginManager.cpp
+@@ -58,7 +58,7 @@ namespace
+ {
+ #if defined(__APPLE__) && defined(__MACH__)
+ const std::string dynamicLibraryExtension(".dylib");
+-#elif defined __linux__
++#elif defined(__linux__) || defined(__FreeBSD_kernel__)
+ const std::string dynamicLibraryExtension(".so");
+ #elif defined _WIN32
+ const std::string dynamicLibraryExtension(".dll");
+--- a/plugins/sqlite/io/SQLiteCommon.hpp
++++ b/plugins/sqlite/io/SQLiteCommon.hpp
+@@ -456,7 +456,7 @@ public:
+ lib_extension = "mod_";
+ #endif
+
+-#ifdef __linux__
++#if defined(__linux__) || defined(__FreeBSD_kernel__)
+ so_extension = "so";
+ #ifdef MOD_SPATIALITE
+ lib_extension = "mod_";
diff --git a/debian/patches/series b/debian/patches/series
index 2339c85..064eec9 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -4,3 +4,4 @@ mod-spatialite.patch
jsoncpp.patch
big-endian.patch
kfreebsd.patch
+kfreebsd2.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