void-packages/srcpkgs/remmina/patches/remove-libssh-threads.patch
Jürgen Buchmüller 673654d359
remmina: fix build w/ libssh-0.8.0
There is no libssh_threads.* anymore.

Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
2018-08-12 05:21:18 +02:00

20 lines
653 B
Diff

--- cmake/FindLIBSSH.cmake 2018-07-31 14:53:53.000000000 +0200
+++ cmake/FindLIBSSH.cmake 2018-08-12 05:19:14.943145715 +0200
@@ -42,16 +42,11 @@
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)
-set(LIBSSH_LIBRARIES ${LIBSSH_LIBRARY} ${LIBSSH_THREADS_LIBRARY})
+set(LIBSSH_LIBRARIES ${LIBSSH_LIBRARY})
set(LIBSSH_INCLUDE_DIRS ${LIBSSH_INCLUDE_DIR})
mark_as_advanced(LIBSSH_INCLUDE_DIR LIBSSH_LIBRARY)