libbitcoin: fix gcc11 compilation by patch

This commit is contained in:
Frido Friedemann 2022-05-21 19:11:35 +02:00
parent 0fc7fd8959
commit 32d3b84307
2 changed files with 14 additions and 0 deletions

View 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>

View File

@ -21,6 +21,8 @@ in stdenv.mkDerivation {
enableParallelBuilding = true;
patches = [ ./fix-gcc11-compilation.patch ];
configureFlags = [
"--with-tests=no"
"--with-boost=${boost.dev}"