summary refs log tree commit diff
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <me@tobias.gr>2020-11-08 22:49:40 +0100
committerTobias Geerinckx-Rice <me@tobias.gr>2020-11-09 10:19:40 +0100
commitd8fe45547e796f665d8954b9a24fe4309ee4891e (patch)
tree09991554d063f36d2d0f123094e35ad6a52c9da5
parentb9495d073bdc34f1039b7d1650efb639ad455dc8 (diff)
downloadguix-d8fe45547e796f665d8954b9a24fe4309ee4891e.tar.gz
gnu: soci: Update to 4.0.1.
* gnu/packages/databases.scm (soci): Update to 4.0.1.
[arguments]: Add -DCMAKE_CXX_STANDARD=17 to #:configure-flags.
-rw-r--r--gnu/packages/databases.scm9
1 files changed, 6 insertions, 3 deletions
diff --git a/gnu/packages/databases.scm b/gnu/packages/databases.scm
index b055645d86..d1c9abdae7 100644
--- a/gnu/packages/databases.scm
+++ b/gnu/packages/databases.scm
@@ -3888,7 +3888,7 @@ The drivers officially supported by @code{libdbi} are:
 (define-public soci
   (package
     (name "soci")
-    (version "4.0.0")
+    (version "4.0.1")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -3897,7 +3897,7 @@ The drivers officially supported by @code{libdbi} are:
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "06faswdxd2frqr9xnx6bxc7zwarlzsbdi3bqpz7kwdxsjvq41rnb"))))
+                "14x2gjblkgpflv75wl144cyjp1sis5rbxnr9r2gj3yw16v2av0bp"))))
     (build-system cmake-build-system)
     (inputs
      `(("postgresql" ,postgresql)
@@ -3907,7 +3907,10 @@ The drivers officially supported by @code{libdbi} are:
        ("mariadb:dev" ,mariadb "dev")
        ("mariadb:lib" ,mariadb "lib")))
     (arguments
-     `(#:tests? #f ; Tests may require running database management systems.
+     `(#:configure-flags
+       ;; C++11 (-DSOCI_CXX11) is OFF by default.  hyperledger-iroha needs it.
+       (list "-DCMAKE_CXX_STANDARD=17")
+       #:tests? #f           ; may require running database management systems
        #:phases
        (modify-phases %standard-phases
          (add-after 'unpack 'fix-lib-path