[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)
- branch master updated (94d0efffb3 -> 64086a4fa4), guix-commits, 2023/05/05
- 02/08: read-print: Recognize 'wrap-program' and 'wrap-script' as special forms., guix-commits, 2023/05/05
- 01/08: read-print: Correctly read "(. x)"., guix-commits, 2023/05/05
- 03/08: gnu: guile2.0-shepherd: Remove., guix-commits, 2023/05/05
- 04/08: gnu: bear: Build against 'abseil-cpp-cxxstd11'., guix-commits, 2023/05/05
- 05/08: gnu: lttng-tools: Fix build failure., guix-commits, 2023/05/05
- 06/08: gnu: git-crypt: Fix build issues on OpenSSL 3.,
guix-commits <=
- 07/08: gnu: mupdf: Update to 1.22.0., guix-commits, 2023/05/05
- 08/08: gnu: mupdf: Simplify snippet., guix-commits, 2023/05/05