guix-patches
[Top][All Lists]
Advanced

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

[bug#63209] [PATCH] gnu: git-crypt: Fix build issues on openssl 3


From: Sergey Trofimov
Subject: [bug#63209] [PATCH] gnu: git-crypt: Fix build issues on openssl 3
Date: Mon, 1 May 2023 18:18:42 +0200

* gnu/packages/version-control.scm (git-crypt):
Add compilation flag to work around openssl 3 compatibility.
See https://github.com/AGWA/git-crypt/issues/232
---
 gnu/packages/version-control.scm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gnu/packages/version-control.scm b/gnu/packages/version-control.scm
index c2ec490383..ba213bafa6 100644
--- a/gnu/packages/version-control.scm
+++ b/gnu/packages/version-control.scm
@@ -936,6 +936,7 @@ (define-public git-crypt
              #t))
          (replace 'build
            (lambda _
+             (setenv "CXXFLAGS" "-DOPENSSL_API_COMPAT=0x30000000L")
              (invoke "make" "ENABLE_MAN=yes")))
          (replace 'install
            (lambda* (#:key outputs #:allow-other-keys)
-- 
2.39.2






reply via email to

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