diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-05-10 14:09:45 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-05-10 14:09:45 +0700 |
commit | 8aef76e96041a18a60c2523f69aeafde976be8b7 (patch) | |
tree | e754d9d4db0be54d4e0510d8a2954cc044ea6b08 /development/codelite/libssh.patch | |
parent | 02afcb778132b6d53fa3a8afdb8f1a1e11a33124 (diff) | |
download | slackbuilds-8aef76e96041a18a60c2523f69aeafde976be8b7.tar.xz |
development/codelite: Fix build against newer libssh.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/codelite/libssh.patch')
-rw-r--r-- | development/codelite/libssh.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/development/codelite/libssh.patch b/development/codelite/libssh.patch new file mode 100644 index 000000000000..c4f5b9aa85e1 --- /dev/null +++ b/development/codelite/libssh.patch @@ -0,0 +1,25 @@ +From d9663b376b66c5754298b21c3592f0a49c030f88 Mon Sep 17 00:00:00 2001 +From: dghart <dghart david@4Pane.co.uk> +Date: Tue, 3 Mar 2020 13:39:02 +0000 +Subject: [PATCH] Compilation fix for ubuntu xenial (16.04) and similar + +The ssh version check was wrong (see https://github.com/eranif/codelite/issues/2443). +Bump it from 0.6.1 to a (guestimated) 0.6.5. +--- + CodeLite/cl_ssh.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CodeLite/cl_ssh.cpp b/CodeLite/cl_ssh.cpp +index 824804e30..f5accfde9 100644 +--- a/CodeLite/cl_ssh.cpp ++++ b/CodeLite/cl_ssh.cpp +@@ -106,7 +106,7 @@ bool clSSH::AuthenticateServer(wxString& message) + + message.Clear(); + +-#if LIBSSH_VERSION_INT < SSH_VERSION_INT(0, 6, 1) ++#if LIBSSH_VERSION_INT < SSH_VERSION_INT(0, 7, 7) + int hlen = 0; + hlen = ssh_get_pubkey_hash(m_session, &hash); + if(hlen < 0) { + |