mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
gnu: catch2@1: Adjust for glibc 2.34 and later.
* gnu/packages/check.scm (catch-framework2-1)[source](modules, snippet): New fields.
This commit is contained in:
parent
e3e678000d
commit
25a3d35146
1 changed files with 10 additions and 1 deletions
|
@ -452,7 +452,16 @@ (define-public catch-framework2-1
|
|||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"1gdp5wm8khn02g2miz381llw3191k7309qj8s3jd6sasj01rhf23"))))
|
||||
"1gdp5wm8khn02g2miz381llw3191k7309qj8s3jd6sasj01rhf23"))
|
||||
(modules '((guix build utils)))
|
||||
(snippet
|
||||
'(substitute* '("include/internal/catch_fatal_condition.hpp"
|
||||
"single_include/catch.hpp")
|
||||
;; In glibc 2.34 and later, SIGSTKSZ is no longer a
|
||||
;; compile-time constant. Hard code a reasonably large
|
||||
;; value.
|
||||
(("SIGSTKSZ")
|
||||
"32768")))))
|
||||
(build-system cmake-build-system)
|
||||
(synopsis "Automated test framework for C++ and Objective-C")
|
||||
(description "Catch2 stands for C++ Automated Test Cases in Headers and is
|
||||
|
|
Loading…
Reference in a new issue