[Pkg-bitcoin-commits] [libbitcoin] 01/03: Add patch 1001 to fix include Boost endian include. Fixes FTBFS on big-endian archs.
Jonas Smedegaard
dr at jones.dk
Fri Aug 15 12:32:07 UTC 2014
This is an automated email from the git hooks/post-receive script.
js pushed a commit to branch master
in repository libbitcoin.
commit 9c3bff5e1b080583bb9245cf56883de80a7c857a
Author: Jonas Smedegaard <dr at jones.dk>
Date: Fri Aug 15 13:41:00 2014 +0200
Add patch 1001 to fix include Boost endian include. Fixes FTBFS on big-endian archs.
---
debian/patches/1001_fix_include_Boost_endian.patch | 11 +++++++++++
debian/patches/README | 13 +++++++++++++
debian/patches/series | 1 +
3 files changed, 25 insertions(+)
diff --git a/debian/patches/1001_fix_include_Boost_endian.patch b/debian/patches/1001_fix_include_Boost_endian.patch
new file mode 100644
index 0000000..d61a559
--- /dev/null
+++ b/debian/patches/1001_fix_include_Boost_endian.patch
@@ -0,0 +1,11 @@
+--- a/include/bitcoin/utility/serializer.hpp
++++ b/include/bitcoin/utility/serializer.hpp
+@@ -20,6 +20,8 @@
+ #ifndef LIBBITCOIN_SERIALIZER_HPP
+ #define LIBBITCOIN_SERIALIZER_HPP
+
++#include <boost/detail/endian.hpp>
++
+ #include <boost/asio/streambuf.hpp>
+ #include <string>
+ #include <vector>
diff --git a/debian/patches/README b/debian/patches/README
new file mode 100644
index 0000000..09a0f68
--- /dev/null
+++ b/debian/patches/README
@@ -0,0 +1,13 @@
+0xxx: Grabbed from upstream development.
+1xxx: Possibly relevant for upstream adoption.
+2xxx: Only relevant for official Debian release.
+
+The point of the numbered patch naming scheme is for patches targeted
+for upstream adoption to not be "infected" by already-upstream or
+local-only changes.
+
+The series file can be (re)created with the following command from
+within the patches dir (and manually commenting out any disabled
+patches afterwards):
+
+ ls -1 0* 1* 2* > series
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..8ec8e79
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+1001_fix_include_Boost_endian.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-bitcoin/libbitcoin.git
More information about the Pkg-bitcoin-commits
mailing list