guix-commits
[Top][All Lists]
Advanced

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

06/08: gnu: git-crypt: Fix build issues on OpenSSL 3.


From: guix-commits
Subject: 06/08: gnu: git-crypt: Fix build issues on OpenSSL 3.
Date: Fri, 5 May 2023 18:06:10 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 71a438dcba391022fbbc41a1703f3172bae9c63c
Author: Sergey Trofimov <sarg@sarg.org.ru>
AuthorDate: Mon May 1 18:18:42 2023 +0200

    gnu: git-crypt: Fix build issues on OpenSSL 3.
    
    * gnu/packages/version-control.scm (git-crypt)[arguments]: In 'build'
    phase, set 'CXXFLAGS'.
    
    Signed-off-by: Ludovic Courtès <ludo@gnu.org>
---
 gnu/packages/version-control.scm | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index 4fbf3b4d05..4bdf63cc63 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -937,6 +937,10 @@ write native speed custom Git applications in any language 
with bindings.")
              #t))
          (replace 'build
            (lambda _
+             ;; Add flag to work around OpenSSL 3 incompatibility.
+             ;; See <https://github.com/AGWA/git-crypt/issues/232>.
+             (setenv "CXXFLAGS" "-DOPENSSL_API_COMPAT=0x30000000L")
+
              (invoke "make" "ENABLE_MAN=yes")))
          (replace 'install
            (lambda* (#:key outputs #:allow-other-keys)



reply via email to

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