Fix examples build
authorYaakov Selkowitz <yselkowitz@users.sourceforge.net>
Fri, 23 May 2014 19:58:10 +0000 (14:58 -0500)
committerYaakov Selkowitz <yselkowitz@users.sourceforge.net>
Fri, 23 May 2014 19:58:10 +0000 (14:58 -0500)
0.6.3-cygwin-argp.patch [new file with mode: 0644]
libssh.cygport

diff --git a/0.6.3-cygwin-argp.patch b/0.6.3-cygwin-argp.patch
new file mode 100644 (file)
index 0000000..a7608ca
--- /dev/null
@@ -0,0 +1,14 @@
+--- origsrc/libssh-0.6.3/examples/CMakeLists.txt       2014-03-04 04:14:20.000000000 -0600
++++ src/libssh-0.6.3/examples/CMakeLists.txt   2014-05-23 14:56:26.482094100 -0500
+@@ -11,9 +11,9 @@ include_directories(
+   ${CMAKE_BINARY_DIR}
+ )
+-if (BSD OR SOLARIS OR OSX)
++if (BSD OR SOLARIS OR OSX OR CYGWIN)
+     find_package(Argp)
+-endif (BSD OR SOLARIS OR OSX)
++endif (BSD OR SOLARIS OR OSX OR CYGWIN)
+ if (UNIX AND NOT WIN32)
+     add_executable(libssh_scp libssh_scp.c ${examples_SRCS})
index 9e0ccc73b2eefcfe97eafac869127109b8c6b417..e38e91601a350de8da5699ae73f410658395af63 100644 (file)
@@ -2,7 +2,7 @@ inherit cmake
 
 NAME="libssh"
 VERSION=0.6.3
-RELEASE=1
+RELEASE=2
 CATEGORY="Net"
 SUMMARY="SSH implementation library"
 DESCRIPTION="The ssh library was designed to be used by programmers needing a
@@ -14,6 +14,7 @@ can play with remote files easily, without third-party programs others
 than libcrypto (from openssl)."
 HOMEPAGE="http://www.libssh.org/"
 SRC_URI="https://red.libssh.org/attachments/download/87/libssh-${VERSION}.tar.xz"
+PATCH_URI="0.6.3-cygwin-argp.patch"
 
 PKG_NAMES="${NAME}4 ${NAME}-common ${NAME}-devel"
 libssh4_REQUIRES="libssh-common"
This page took 0.048874 seconds and 5 git commands to generate.