GNU bug report logs -
#63202
git-gcrypt 0.7.0 build fails with OpenSSL 3.0
Previous Next
Reported by: Giovanni Biscuolo <g <at> xelera.eu>
Date: Mon, 1 May 2023 12:42:02 UTC
Severity: normal
Done: Ludovic Courtès <ludo <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #11 received at 63202 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hello,
[0001-gnu-git-crypt-Fix-build.patch (text/x-diff, inline)]
From 09aab815c7b0afddc020fb47e6beca524ea4e886 Mon Sep 17 00:00:00 2001
Message-Id: <09aab815c7b0afddc020fb47e6beca524ea4e886.1682959973.git.g <at> xelera.eu>
From: Giovanni Biscuolo <g <at> xelera.eu>
Date: Mon, 1 May 2023 18:34:57 +0200
Subject: [PATCH] gnu: git-crypt: Fix build
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Avoid this compilation warning:
warning: ‘int AES_set_encrypt_key(const unsigned char*, int, AES_KEY*)’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
Fixes bug#63202
* gnu/packages/version-control.scm: Add CXXFLAGS=-DOPENSSL_API_COMPAT=0x30000000L to build environment
---
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)
base-commit: 0c6a7e1045cbd06336ef3699734a803a2e4038e5
--
2.39.2
[Message part 3 (text/plain, inline)]
Happy hacking!
--
Giovanni Biscuolo
Xelera IT Infrastructures
[signature.asc (application/pgp-signature, inline)]
This bug report was last modified 2 years and 11 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.