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

sebastic pushed a commit to branch master
in repository libosmium.

commit 8250c384e7c8887921e8c8af19cc6c6817f45e54
Author: Bas Couwenberg <sebas...@xs4all.nl>
Date:   Sat Aug 22 22:29:03 2015 +0200

    Add patch to fix FTBFS on big endian architectures.
---
 debian/changelog                          |  6 ++++++
 debian/patches/protozero-byte-order.patch | 18 ++++++++++++++++++
 debian/patches/series                     |  1 +
 3 files changed, 25 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 3cd6d88..9381979 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+libosmium (2.3.0-2) UNRELEASED; urgency=medium
+
+  * Add patch to fix FTBFS on big endian architectures.
+
+ -- Bas Couwenberg <sebas...@debian.org>  Sat, 22 Aug 2015 22:28:51 +0200
+
 libosmium (2.3.0-1) unstable; urgency=medium
 
   * New upstream release.
diff --git a/debian/patches/protozero-byte-order.patch 
b/debian/patches/protozero-byte-order.patch
new file mode 100644
index 0000000..2fe7943
--- /dev/null
+++ b/debian/patches/protozero-byte-order.patch
@@ -0,0 +1,18 @@
+Description: Remove leftover check for little endian.
+ Fixes FTBFS on big endian architectures.
+Author: Jochen Topf <joc...@topf.org>
+Origin: 
https://github.com/mapbox/protozero/commit/4bd612677dd53d2a4752332a53db8eb87aed67a4
+
+--- a/include/protozero/varint.hpp
++++ b/include/protozero/varint.hpp
+@@ -16,10 +16,6 @@ documentation.
+  * @brief Contains low-level varint and zigzag encoding and decoding 
functions.
+  */
+ 
+-#if __BYTE_ORDER != __LITTLE_ENDIAN
+-# error "This code only works on little endian machines."
+-#endif
+-
+ #include <cstdint>
+ 
+ #include <protozero/exception.hpp>
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..cf5af1b
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+protozero-byte-order.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-grass/libosmium.git

_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to