guix-commits
[Top][All Lists]
Advanced

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

04/04: gnu: insight-toolkit-4.12: Fix building.


From: guix-commits
Subject: 04/04: gnu: insight-toolkit-4.12: Fix building.
Date: Tue, 14 Nov 2023 02:07:51 -0500 (EST)

efraim pushed a commit to branch master
in repository guix.

commit 3d15e9e5bcd7cdad33f9832e4956f494c47e1937
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Tue Nov 14 08:55:34 2023 +0200

    gnu: insight-toolkit-4.12: Fix building.
    
    * gnu/packages/image-processing.scm (insight-toolkit-4.12)[arguments]:
    Add a configure-flag to build with c++14.
    
    Change-Id: I5e7a0a3ed47e4e3f25611147f8e66c58a1bf8a8c
---
 gnu/packages/image-processing.scm | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/image-processing.scm 
b/gnu/packages/image-processing.scm
index 9b633d5d63..36fee7e276 100644
--- a/gnu/packages/image-processing.scm
+++ b/gnu/packages/image-processing.scm
@@ -1412,7 +1412,12 @@ combine the information contained in both.")
        (uri (string-append "mirror://sourceforge/itk/itk/4.12/"
                            "InsightToolkit-" version ".tar.xz"))
        (sha256
-        (base32 "1qw9mxbh083siljygahl4gdfv91xvfd8hfl7ghwii19f60xrvn2w"))))))
+        (base32 "1qw9mxbh083siljygahl4gdfv91xvfd8hfl7ghwii19f60xrvn2w"))))
+    (arguments
+     (substitute-keyword-arguments (package-arguments insight-toolkit-4)
+       ((#:configure-flags cf #~'())
+        ;; error: ISO C++17 does not allow dynamic exception specifications
+        #~(cons* "-DCMAKE_CXX_FLAGS=-std=c++14" #$cf))))))
 
 (define-public itk-snap
   (package



reply via email to

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