guix-commits
[Top][All Lists]
Advanced

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

03/15: gnu: catch2@1: Adjust for glibc 2.34 and later.


From: guix-commits
Subject: 03/15: gnu: catch2@1: Adjust for glibc 2.34 and later.
Date: Thu, 11 Aug 2022 16:00:43 -0400 (EDT)

mbakke pushed a commit to branch master
in repository guix.

commit 25a3d3514627ba219e5fb10249a89b57ec110772
Author: Marius Bakke <marius@gnu.org>
AuthorDate: Thu Aug 11 18:22:28 2022 +0200

    gnu: catch2@1: Adjust for glibc 2.34 and later.
    
    * gnu/packages/check.scm (catch-framework2-1)[source](modules, snippet): New
    fields.
---
 gnu/packages/check.scm | 11 ++++++++++-
 1 file changed, 10 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/check.scm b/gnu/packages/check.scm
index 6ad2b1acd8..75bd20cff9 100644
--- a/gnu/packages/check.scm
+++ b/gnu/packages/check.scm
@@ -452,7 +452,16 @@ multi-paradigm automated test framework for C++ and 
Objective-C.")
               (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



reply via email to

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