summary refs log tree commit diff
path: root/pkgs/development/libraries/libssh/default.nix
diff options
context:
space:
mode:
authorTobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com>2015-05-26 23:13:16 +0200
committerTobias Geerinckx-Rice <tobias.geerinckx.rice@gmail.com>2015-05-26 23:57:45 +0200
commitdf7ccbab5d29352a9147da0fd84e7e54fb8da479 (patch)
tree08c79dda40443caaad93fc3af21e1914d7ed4b89 /pkgs/development/libraries/libssh/default.nix
parent2857d5d7a85659b289e3a49d807f89d2b5345715 (diff)
downloadnixpkgs-df7ccbab5d29352a9147da0fd84e7e54fb8da479.tar
nixpkgs-df7ccbab5d29352a9147da0fd84e7e54fb8da479.tar.gz
nixpkgs-df7ccbab5d29352a9147da0fd84e7e54fb8da479.tar.bz2
nixpkgs-df7ccbab5d29352a9147da0fd84e7e54fb8da479.tar.lz
nixpkgs-df7ccbab5d29352a9147da0fd84e7e54fb8da479.tar.xz
nixpkgs-df7ccbab5d29352a9147da0fd84e7e54fb8da479.tar.zst
nixpkgs-df7ccbab5d29352a9147da0fd84e7e54fb8da479.zip
libssh: temporarily patch to fix x2goclient
See <https://red.libssh.org/issues/194>:

  "In libssh 0.7.0, ssh_forward_listen() is present in the headers as
  a deprecated function, but it is not actually present in the code.
  This appears to have been introduced in commit 5229253f."
Diffstat (limited to 'pkgs/development/libraries/libssh/default.nix')
-rw-r--r--pkgs/development/libraries/libssh/default.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/libraries/libssh/default.nix b/pkgs/development/libraries/libssh/default.nix
index 64a6213433c..8ea2ac72da0 100644
--- a/pkgs/development/libraries/libssh/default.nix
+++ b/pkgs/development/libraries/libssh/default.nix
@@ -34,6 +34,8 @@ stdenv.mkDerivation rec {
     sha256 = "1wfrdqhv97f4ycd9bcpgb6gw47kr7b2iq8cz5knk8a6n9c6870k0";
   };
 
+  patches = [ ./0001-Reintroduce-ssh_forward_listen-Fixes-194.patch ];
+
   postPatch = ''
     # Fix headers to use libsodium instead of NaCl
     sed -i 's,nacl/,sodium/,g' ./include/libssh/curve25519.h src/curve25519.c