guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

13/104: gnu: bitcoin-unlimited: Update to 1.8.0.0.


From: guix-commits
Subject: 13/104: gnu: bitcoin-unlimited: Update to 1.8.0.0.
Date: Sun, 17 May 2020 11:36:26 -0400 (EDT)

nckx pushed a commit to branch core-updates
in repository guix.

commit 79b7a37490fb0f02040a6e37762af6d756535c96
Author: Guillaume Le Vaillant <address@hidden>
AuthorDate: Fri May 15 15:51:48 2020 +0200

    gnu: bitcoin-unlimited: Update to 1.8.0.0.
    
    * gnu/packages/finance.scm (bitcoin-unlimited): Update to 1.8.0.0.
      [arguments]: Add 'fix-build' phase, update 'fix-tests' phase.
---
 gnu/packages/finance.scm | 25 ++++++++++++++++++-------
 1 file changed, 18 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index 7018479..6dd6049 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -1368,16 +1368,16 @@ entity management.")
 (define-public bitcoin-unlimited
   (package
     (name "bitcoin-unlimited")
-    (version "1.7.0.0")
+    (version "1.8.0.0")
     (source
      (origin
        (method git-fetch)
        (uri (git-reference
              (url "https://github.com/BitcoinUnlimited/BitcoinUnlimited.git";)
-             (commit (string-append "bucash" version))))
+             (commit (string-append "BCHunlimited" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "05rcd73mg2fb2zb6b1imzspck6jhcy3xymrr7n24kwjrzmvihdpx"))))
+        (base32 "1ivkig6q7i4n389dg1zv06cmfki20bjq0slmshx0p5a1aavkqj7k"))))
     (build-system gnu-build-system)
     (native-inputs
      `(("autoconf" ,autoconf)
@@ -1415,12 +1415,23 @@ entity management.")
                        "/bin/lupdate"))
        #:phases
        (modify-phases %standard-phases
+         (add-after 'unpack 'fix-build
+           (lambda _
+             ;; The 'stack' header was not included in unlimited.cpp, which
+             ;; caused the build to fail.
+             (substitute* "src/unlimited.cpp"
+               (("#include <queue>" all)
+                (string-append all "\n#include <stack>")))
+             #t))
          (add-after 'unpack 'fix-tests
            (lambda _
-             ;; TODO: Find why utilprocess_tests never ends. Disable for now.
-             (substitute* "src/test/utilprocess_tests.cpp"
-               (("#if \\(BOOST_OS_LINUX && \\(BOOST_VERSION >= 106500\\)\\)")
-                "#if 0"))
+             ;; TODO: Find why txvalidationcache_tests fails and
+             ;; utilprocess_tests never ends. Disable for now.
+             (substitute* "src/Makefile.test.include"
+               (("test/txvalidationcache_tests.cpp")
+                "")
+               (("test/utilprocess_tests.cpp")
+                ""))
              #t))
          (add-before 'configure 'make-qt-deterministic
            (lambda _



reply via email to

[Prev in Thread] Current Thread [Next in Thread]