Bug#905910: libssh has dropped libssh_threads library
Source: remmina
Version: 1.2.31.2+dfsg-1
Severity: serious
Tags: patch
Hi,
libssh 0.8.0 has dropped the libssh_thread library and the only function
exported by it has been merged in the main library
Applying the attached patch should fix the build
Kind regards,
Laurent Bigonville
-- System Information:
Debian Release: buster/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.18.0-rc4-amd64 (SMP w/8 CPU cores)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8), LANGUAGE=fr_BE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: SELinux: enabled - Mode: Permissive - Policy name: refpolicy
diff -Nru remmina-1.2.31.2+dfsg/debian/control remmina-1.2.31.2+dfsg/debian/control
--- remmina-1.2.31.2+dfsg/debian/control 2018-07-29 14:54:23.000000000 +0200
+++ remmina-1.2.31.2+dfsg/debian/control 2018-08-11 16:03:14.000000000 +0200
@@ -20,7 +20,7 @@
libsoup2.4-dev,
libspice-client-gtk-3.0-dev,
libspice-protocol-dev,
- libssh-dev (>= 0.8.0~20170825.94fa1e38),
+ libssh-dev (>= 0.8.0),
libtelepathy-glib-dev,
libvncserver-dev,
libvte-2.91-dev,
diff -Nru remmina-1.2.31.2+dfsg/debian/patches/0002-remove-libssh_threads.patch remmina-1.2.31.2+dfsg/debian/patches/0002-remove-libssh_threads.patch
--- remmina-1.2.31.2+dfsg/debian/patches/0002-remove-libssh_threads.patch 1970-01-01 01:00:00.000000000 +0100
+++ remmina-1.2.31.2+dfsg/debian/patches/0002-remove-libssh_threads.patch 2018-08-11 16:03:14.000000000 +0200
@@ -0,0 +1,14 @@
+--- a/cmake/FindLIBSSH.cmake
++++ b/cmake/FindLIBSSH.cmake
+@@ -42,11 +42,6 @@ find_library(LIBSSH_LIBRARY
+ PATHS ${PC_LIBSSH_PKGCONF_LIBRARY_DIRS}
+ )
+
+-find_library(LIBSSH_THREADS_LIBRARY
+- NAMES ssh_threads
+- PATHS ${PC_LIBSSH_LIBDIR} ${PC_LIBSSH_LIBRARY_DIRS}
+-)
+-
+ include(FindPackageHandleStandardArgs)
+
+ find_package_handle_standard_args(LIBSSH DEFAULT_MSG LIBSSH_LIBRARY LIBSSH_INCLUDE_DIR)
diff -Nru remmina-1.2.31.2+dfsg/debian/patches/series remmina-1.2.31.2+dfsg/debian/patches/series
--- remmina-1.2.31.2+dfsg/debian/patches/series 2018-08-01 22:20:23.000000000 +0200
+++ remmina-1.2.31.2+dfsg/debian/patches/series 2018-08-11 16:03:14.000000000 +0200
@@ -1 +1,2 @@
0001-Fix_warnings_on_manpages.patch
+0002-remove-libssh_threads.patch
Reply to: