[pdal] 01/04: Add patch to fix FTBFS on big endian architectures.
Sebastiaan Couwenberg
sebastic at moszumanska.debian.org
Sun Mar 20 20:35:37 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 9adce767609b364534f08934b5039291009906cc
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Sun Mar 20 19:56:05 2016 +0100
Add patch to fix FTBFS on big endian architectures.
---
debian/changelog | 6 ++++++
debian/patches/big-endian.patch | 16 ++++++++++++++++
debian/patches/series | 1 +
3 files changed, 23 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index f650873..504ffaa 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+pdal (1.1.0-2) UNRELEASED; urgency=medium
+
+ * Add patch to fix FTBFS on big endian architectures.
+
+ -- Bas Couwenberg <sebastic at debian.org> Sun, 20 Mar 2016 19:55:42 +0100
+
pdal (1.1.0-1) unstable; urgency=medium
* Initial release (Closes: #797126)
diff --git a/debian/patches/big-endian.patch b/debian/patches/big-endian.patch
new file mode 100644
index 0000000..16e5b12
--- /dev/null
+++ b/debian/patches/big-endian.patch
@@ -0,0 +1,16 @@
+Description: Fix build failure on big endian architectures.
+ error: #elif with no expression
+Author: Bas Couwenberg <sebastic at debian.org>
+Forwarded: not-needed
+
+--- a/plugins/pgpointcloud/io/PgWriter.cpp
++++ b/plugins/pgpointcloud/io/PgWriter.cpp
+@@ -492,7 +492,7 @@ void PgWriter::writeTile(const PointView
+ SWAP_ENDIANNESS(pcid);
+ SWAP_ENDIANNESS(compression);
+ SWAP_ENDIANNESS(num_points);
+-#elif BOOST_BIG_ENDIAN
++#elif defined(BOOST_BIG_ENDIAN)
+ // needs to be 1 byte
+ options << boost::format("%02x") % 0;
+ #endif
diff --git a/debian/patches/series b/debian/patches/series
index 0304234..506c185 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -2,3 +2,4 @@ spelling-errors.patch
hardening.patch
mod-spatialite.patch
jsoncpp.patch
+big-endian.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