unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#63209] [PATCH] gnu: git-crypt: Fix build issues on openssl 3
@ 2023-05-01 16:18 Sergey Trofimov
  2023-05-01 21:35 ` Giovanni Biscuolo
  2023-05-05 22:00 ` bug#63209: " Ludovic Courtès
  0 siblings, 2 replies; 3+ messages in thread
From: Sergey Trofimov @ 2023-05-01 16:18 UTC (permalink / raw)
  To: 63209; +Cc: Sergey Trofimov

* 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





^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#63209] [PATCH] gnu: git-crypt: Fix build issues on openssl 3
  2023-05-01 16:18 [bug#63209] [PATCH] gnu: git-crypt: Fix build issues on openssl 3 Sergey Trofimov
@ 2023-05-01 21:35 ` Giovanni Biscuolo
  2023-05-05 22:00 ` bug#63209: " Ludovic Courtès
  1 sibling, 0 replies; 3+ messages in thread
From: Giovanni Biscuolo @ 2023-05-01 21:35 UTC (permalink / raw)
  To: 63209; +Cc: Sergey Trofimov

[-- Attachment #1: Type: text/plain, Size: 1037 bytes --]

Hello,

thank you for your patch: I applied it and it works.

This is also related to bug#63202

Sergey Trofimov <sarg@sarg.org.ru> writes:

> * 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

Thanks, Gio'

-- 
Giovanni Biscuolo

Xelera IT Infrastructures

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 849 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#63209: [PATCH] gnu: git-crypt: Fix build issues on openssl 3
  2023-05-01 16:18 [bug#63209] [PATCH] gnu: git-crypt: Fix build issues on openssl 3 Sergey Trofimov
  2023-05-01 21:35 ` Giovanni Biscuolo
@ 2023-05-05 22:00 ` Ludovic Courtès
  1 sibling, 0 replies; 3+ messages in thread
From: Ludovic Courtès @ 2023-05-05 22:00 UTC (permalink / raw)
  To: Sergey Trofimov; +Cc: 63209-done

Hi,

Sergey Trofimov <sarg@sarg.org.ru> skribis:

> * 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

Applied the patch, with these two lines as a comment in the code.

Thanks,
Ludo’.




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-05-05 22:01 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-01 16:18 [bug#63209] [PATCH] gnu: git-crypt: Fix build issues on openssl 3 Sergey Trofimov
2023-05-01 21:35 ` Giovanni Biscuolo
2023-05-05 22:00 ` bug#63209: " Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).