summary refs log tree commit diff
diff options
context:
space:
mode:
authorGuillaume Le Vaillant <glv@posteo.net>2021-05-15 11:08:56 +0200
committerGuillaume Le Vaillant <glv@posteo.net>2021-05-15 12:04:31 +0200
commitb149c16371b935795c821d3df3d90fe9f741cbd7 (patch)
treefa76822dec6730a6966cbdf9066c08165fc35929
parentbb6ae50d8276c90551e727b023f5a0a2295a12e4 (diff)
downloadguix-b149c16371b935795c821d3df3d90fe9f741cbd7.tar.gz
gnu: monero-gui: Update to 0.17.2.2.
* gnu/packages/finance.scm (monero-gui): Update to 0.17.2.2.
  [arguments]: Update 'fix-build' phase.
-rw-r--r--gnu/packages/finance.scm11
1 files changed, 8 insertions, 3 deletions
diff --git a/gnu/packages/finance.scm b/gnu/packages/finance.scm
index 0632c55e7c..fbd7df783c 100644
--- a/gnu/packages/finance.scm
+++ b/gnu/packages/finance.scm
@@ -747,7 +747,7 @@ the Monero command line client and daemon.")
 (define-public monero-gui
   (package
     (name "monero-gui")
-    (version "0.17.2.1")
+    (version "0.17.2.2")
     (source
      (origin
        (method git-fetch)
@@ -764,7 +764,7 @@ the Monero command line client and daemon.")
            (delete-file-recursively "monero")
            #t))
        (sha256
-        (base32 "17z4l7xj3zzbkb3fivsam38y5psknc2qbsg6yc72vb6n675khnsa"))))
+        (base32 "0n7gfhm13y18ffqsqdajl4knd4h8m772fz6lh1lpkh198pwmw8f9"))))
     (build-system qt-build-system)
     (native-inputs
      `(,@(package-native-inputs monero)
@@ -803,7 +803,12 @@ the Monero command line client and daemon.")
                (("@VERSION_TAG_GUI@")
                 ,version))
              (substitute* "src/zxcvbn-c/makefile"
-               (("\\?=") "="))))
+               (("\\?=") "="))
+             (substitute* "external/CMakeLists.txt"
+               (("add_library\\(quirc" all)
+                (string-append
+                 "set(CMAKE_C_FLAGS \"${CMAKE_C_FLAGS} -fPIC\")\n"
+                 all)))))
          (add-before 'configure 'generate-zxcvbn-c-header
            (lambda _
              (invoke "make" "-C" "src/zxcvbn-c" "dict-src.h")))