guix-commits
[Top][All Lists]
Advanced

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

01/09: gnu: guile-gnutls: Fix cross-crompilation.


From: guix-commits
Subject: 01/09: gnu: guile-gnutls: Fix cross-crompilation.
Date: Tue, 18 Oct 2022 08:56:25 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit d5f07aa8328f524dfb7546a743fe57059bf25f5e
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Tue Oct 18 14:17:42 2022 +0200

    gnu: guile-gnutls: Fix cross-crompilation.
    
    * gnu/packages/tls.scm (guile-gnutls)[source]: Add "gnutls-cross.patch".
    [native-inputs]: Add 'gnutls'.
    [inputs]: Add 'guile-3.0'.
---
 gnu/packages/tls.scm | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm
index 4d1dc77d7f..3e0210f661 100644
--- a/gnu/packages/tls.scm
+++ b/gnu/packages/tls.scm
@@ -385,7 +385,8 @@ required structures.")
               (sha256
                (base32
                 "00sfpqjmd263ka51fq4xf7nvaaxyfqsr3r8fj94jgx45q6q6n6wq"))
-              (file-name (git-file-name name version))))
+              (file-name (git-file-name name version))
+              (patches (search-patches "gnutls-cross.patch"))))
     (build-system gnu-build-system)
     (arguments
      '(#:configure-flags
@@ -404,9 +405,11 @@ required structures.")
            libtool
            pkg-config
            texinfo
+           gnutls                 ;XXX: 'guile-snarf' invokes the native 'cpp'
            guile-3.0))
     (inputs
-     (list gnutls-latest))
+     (list gnutls-latest
+           guile-3.0))
     (synopsis "Guile bindings to GnuTLS")
     (description
      "This package provides Guile bindings to GnuTLS, a library implementation



reply via email to

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