aboutsummaryrefslogtreecommitdiffstats
path: root/main/libssh/link-pthread.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-01-09 07:43:22 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-01-09 07:44:17 +0000
commitdf3d203709e000164df9636e606aa2a36671bded (patch)
treef4828ea87bb979693918e1427b635cf8e2ededb8 /main/libssh/link-pthread.patch
parentaff7349e5da417ac968da94fb59c97b176593537 (diff)
downloadaports-df3d203709e000164df9636e606aa2a36671bded.tar.bz2
aports-df3d203709e000164df9636e606aa2a36671bded.tar.xz
main/libssh: upgrade to 0.6.0
Diffstat (limited to 'main/libssh/link-pthread.patch')
-rw-r--r--main/libssh/link-pthread.patch63
1 files changed, 0 insertions, 63 deletions
diff --git a/main/libssh/link-pthread.patch b/main/libssh/link-pthread.patch
deleted file mode 100644
index 2e2c770f6a..0000000000
--- a/main/libssh/link-pthread.patch
+++ /dev/null
@@ -1,63 +0,0 @@
-diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
-index aeff201..0191d5d 100644
---- a/examples/CMakeLists.txt
-+++ b/examples/CMakeLists.txt
-@@ -13,36 +13,36 @@ include_directories(
-
- if (LINUX)
- add_executable(libssh_scp libssh_scp.c ${examples_SRCS})
-- target_link_libraries(libssh_scp ${LIBSSH_SHARED_LIBRARY})
-+ target_link_libraries(libssh_scp ${LIBSSH_SHARED_LIBRARY} pthread)
-
- add_executable(scp_download scp_download.c ${examples_SRCS})
-- target_link_libraries(scp_download ${LIBSSH_SHARED_LIBRARY})
-+ target_link_libraries(scp_download ${LIBSSH_SHARED_LIBRARY} pthread)
-
- add_executable(samplessh sample.c ${examples_SRCS})
-- target_link_libraries(samplessh ${LIBSSH_SHARED_LIBRARY})
-+ target_link_libraries(samplessh ${LIBSSH_SHARED_LIBRARY} pthread)
-
- add_executable(sshnetcat sshnetcat.c ${examples_SRCS})
-- target_link_libraries(sshnetcat ${LIBSSH_SHARED_LIBRARY})
-+ target_link_libraries(sshnetcat ${LIBSSH_SHARED_LIBRARY} pthread)
-
- if (WITH_SFTP)
- add_executable(samplesftp samplesftp.c ${examples_SRCS})
-- target_link_libraries(samplesftp ${LIBSSH_SHARED_LIBRARY})
-+ target_link_libraries(samplesftp ${LIBSSH_SHARED_LIBRARY} pthread)
- endif (WITH_SFTP)
-
- if (WITH_SERVER)
- add_executable(samplesshd samplesshd.c)
-- target_link_libraries(samplesshd ${LIBSSH_SHARED_LIBRARY})
-+ target_link_libraries(samplesshd ${LIBSSH_SHARED_LIBRARY} pthread)
- endif (WITH_SERVER)
- endif (LINUX)
-
- add_executable(exec exec.c ${examples_SRCS})
--target_link_libraries(exec ${LIBSSH_SHARED_LIBRARY})
-+target_link_libraries(exec ${LIBSSH_SHARED_LIBRARY} pthread)
-
- add_executable(senddata senddata.c ${examples_SRCS})
--target_link_libraries(senddata ${LIBSSH_SHARED_LIBRARY})
-+target_link_libraries(senddata ${LIBSSH_SHARED_LIBRARY} pthread)
-
- add_executable(libsshpp libsshpp.cpp)
--target_link_libraries(libsshpp ${LIBSSH_SHARED_LIBRARY})
-+target_link_libraries(libsshpp ${LIBSSH_SHARED_LIBRARY} pthread)
-
- add_executable(libsshpp_noexcept libsshpp_noexcept.cpp)
--target_link_libraries(libsshpp_noexcept ${LIBSSH_SHARED_LIBRARY})
-+target_link_libraries(libsshpp_noexcept ${LIBSSH_SHARED_LIBRARY} pthread)
-diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
-index e158665..ef2005d 100644
---- a/src/CMakeLists.txt
-+++ b/src/CMakeLists.txt
-@@ -40,6 +40,7 @@ if (HAVE_LIBSOCKET)
- set(LIBSSH_LINK_LIBRARIES
- ${LIBSSH_LINK_LIBRARIES}
- socket
-+ pthread
- )
- endif (HAVE_LIBSOCKET)
-