libbitcoin: fix gcc11 compilation by patch
This commit is contained in:
parent
0fc7fd8959
commit
32d3b84307
12
pkgs/tools/misc/libbitcoin/fix-gcc11-compilation.patch
Normal file
12
pkgs/tools/misc/libbitcoin/fix-gcc11-compilation.patch
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
diff --git a/include/bitcoin/bitcoin/wallet/dictionary.hpp b/include/bitcoin/bitcoin/wallet/dictionary.hpp
|
||||||
|
index 632f1afc..63a51764 100644
|
||||||
|
--- a/include/bitcoin/bitcoin/wallet/dictionary.hpp
|
||||||
|
+++ b/include/bitcoin/bitcoin/wallet/dictionary.hpp
|
||||||
|
@@ -19,6 +19,7 @@
|
||||||
|
#ifndef LIBBITCOIN_WALLET_DICTIONARY_HPP
|
||||||
|
#define LIBBITCOIN_WALLET_DICTIONARY_HPP
|
||||||
|
|
||||||
|
+#include <cstddef>
|
||||||
|
#include <array>
|
||||||
|
#include <vector>
|
||||||
|
#include <bitcoin/bitcoin/compat.hpp>
|
|
@ -21,6 +21,8 @@ in stdenv.mkDerivation {
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
patches = [ ./fix-gcc11-compilation.patch ];
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
"--with-tests=no"
|
"--with-tests=no"
|
||||||
"--with-boost=${boost.dev}"
|
"--with-boost=${boost.dev}"
|
||||||
|
|
Loading…
Reference in a new issue