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>
This commit is contained in:
parent
d7f4b26336
commit
673654d359
2 changed files with 21 additions and 1 deletions
20
srcpkgs/remmina/patches/remove-libssh-threads.patch
Normal file
20
srcpkgs/remmina/patches/remove-libssh-threads.patch
Normal file
|
@ -0,0 +1,20 @@
|
|||
--- 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)
|
|
@ -4,7 +4,7 @@ version=1.2.31.2
|
|||
revision=2
|
||||
wrksrc="Remmina-${version}"
|
||||
build_style=cmake
|
||||
configure_args="-DWITH_APPINDICATOR=OFF"
|
||||
configure_args="-DWITH_APPINDICATOR=OFF -DCMAKE_USE_PTHREADS_INIT=ON"
|
||||
hostmakedepends="intltool pkg-config"
|
||||
makedepends="avahi-glib-libs-devel avahi-ui-libs-devel
|
||||
freerdp-devel json-glib-devel libgnome-keyring-devel libsecret-devel
|
||||
|
|
Loading…
Reference in a new issue