mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 07:26:13 -05:00
gnu: libssh: Build against an older libgcrypt.
* gnu/packages/ssh.scm (libssh): Use libgcrypt 1.5.3 as an input.
This commit is contained in:
parent
f22e0e264e
commit
678110b949
1 changed files with 15 additions and 1 deletions
|
@ -80,7 +80,21 @@ (define (dereference file)
|
|||
lib))))
|
||||
%standard-phases)))
|
||||
(inputs `(("zlib" ,zlib)
|
||||
("libgcrypt" ,libgcrypt)))
|
||||
("libgcrypt"
|
||||
;; Link against an older gcrypt, because libssh tries to access
|
||||
;; fields of 'gcry_thread_cbs' that are now private:
|
||||
;; src/threads.c:72:26: error: 'struct gcry_thread_cbs' has no member named 'mutex_init'
|
||||
,(package (inherit libgcrypt)
|
||||
(version "1.5.3")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append
|
||||
"mirror://gnupg/libgcrypt/libgcrypt-"
|
||||
version ".tar.bz2"))
|
||||
(sha256
|
||||
(base32
|
||||
"1lar8y3lh61zl5flljpz540d78g99h4d5idfwrfw8lm3gm737xdw"))))))))
|
||||
(native-inputs `(("patchelf" ,patchelf)))
|
||||
(synopsis "SSH client library")
|
||||
(description
|
||||
|
|
Loading…
Reference in a new issue