[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#65565] [PATCH] gnu: chaiscript: Fix tests.
From: |
iyzsong |
Subject: |
[bug#65565] [PATCH] gnu: chaiscript: Fix tests. |
Date: |
Sun, 27 Aug 2023 20:30:16 +0800 |
From: 宋文武 <iyzsong@member.fsf.org>
* gnu/packages/cpp.scm (chaiscript)[arguments]: Add fix-tests phase.
---
gnu/packages/cpp.scm | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index 3b949198c7..4681963794 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -511,6 +511,15 @@ (define-public chaiscript
(sha256
(base32 "0i1c88rn1wwz8nf3dpapcdkk4w623m3nksfy5yjai10k9irkzy3c"))))
(build-system cmake-build-system)
+ (arguments
+ (list
+ #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'unpack 'fix-tests
+ (lambda _
+ ;; Its bundled catch2 fails to build with glibc-2.35.
+ (copy-file #$(file-append catch2 "/include/catch2/catch.hpp")
+ "unittests/catch.hpp"))))))
(home-page "https://chaiscript.com/")
(synopsis "Embedded scripting language designed for C++")
(description
base-commit: 8b4a248fc4765212a4103c4520ae1f901937df41
--
2.41.0
- [bug#65565] [PATCH] gnu: chaiscript: Fix tests.,
iyzsong <=