summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Le Vaillant <glv@posteo.net>2021-08-23 15:48:27 +0200
committerGuillaume Le Vaillant <glv@posteo.net>2021-08-23 16:08:06 +0200
commit263f5b30d2caa42d494df50108b847b8722e02f5 (patch)
treedfe4a075091aa81de7a541db96dfa512844e4512
parent210949fdc200e6d9082e74922921b1eed0bb714a (diff)
downloadguix-263f5b30d2caa42d494df50108b847b8722e02f5.tar.gz
gnu: monero: Fix build.
* gnu/packages/finance.scm (monero)[source]: Update snippet to include
  missing Boost header.
-rw-r--r--gnu/packages/finance.scm5
1 files changed, 5 insertions, 0 deletions
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index c5e9039735..5e5be2170c 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -657,6 +657,11 @@ other machines/servers.  Electroncash does not download the Bitcoin Cash blockch
             delete-file-recursively
             '("external/miniupnp" "external/rapidjson"
               "external/unbound"))
+           ;; TODO: Remove the following when upgrading to a newer tagged
+           ;; version as it will already contain the fix for Boost 1.76.
+           (substitute* "contrib/epee/include/storages/portable_storage.h"
+             (("#include \"int-util.h\"" all)
+              (string-append all "\n#include <boost/mpl/contains.hpp>")))
            #t))
        (sha256
         (base32 "0jwlmrpzisvw1c06cvd5b3s3hd4w0pa1qmrypfwah67qj3x6hnb6"))))