libssh 0.5.2
authorYaakov Selkowitz <yselkowitz@users.sourceforge.net>
Tue, 27 Sep 2011 01:30:25 +0000 (20:30 -0500)
committerYaakov Selkowitz <yselkowitz@users.sourceforge.net>
Tue, 27 Sep 2011 01:30:25 +0000 (20:30 -0500)
0.5.2-getsockopt.patch [new file with mode: 0644]
libssh-0.5.2-1.cygport [moved from libssh-0.4.7-1.cygport with 83% similarity]

diff --git a/0.5.2-getsockopt.patch b/0.5.2-getsockopt.patch
new file mode 100644 (file)
index 0000000..5b5ab68
--- /dev/null
@@ -0,0 +1,15 @@
+connect.c: In function ‘ssh_connect_ai_timeout’:
+connect.c:207:3: error: pointer targets in passing argument 5 of ‘getsockopt’ differ in signedness
+/usr/include/sys/socket.h:47:7: note: expected ‘socklen_t *’ but argument is of type ‘unsigned int *’
+
+--- origsrc/libssh-0.5.2/src/connect.c 2011-09-16 14:57:36.000000000 -0500
++++ src/libssh-0.5.2/src/connect.c     2011-09-26 20:12:10.101408800 -0500
+@@ -159,7 +159,7 @@ static int ssh_connect_ai_timeout(ssh_se
+   int timeout_ms;
+   ssh_pollfd_t fds;
+   int rc = 0;
+-  unsigned int len = sizeof(rc);
++  socklen_t len = sizeof(rc);
+   enter_function();
similarity index 83%
rename from libssh-0.4.7-1.cygport
rename to libssh-0.5.2-1.cygport
index 7a71409779bbe6db4f704aa5545b1b7bdad40fa5..1d23a7356fd0ffd19908f9100f7f8b7a32c24802 100644 (file)
@@ -3,9 +3,10 @@ inherit cmake
 DESCRIPTION="SSH implementation library"
 HOMEPAGE="http://www.libssh.org/"
 SRC_URI="http://www.libssh.org/files/${PV[1]}.${PV[2]}/${P}.tar.gz"
+PATCH_URI="0.5.2-getsockopt.patch"
 
 PKG_NAMES="${PN}4 ${PN}-common ${PN}-devel"
-libssh4_CONTENTS='usr/bin/cygssh-4.dll'
+libssh4_CONTENTS='usr/bin/*-4.dll'
 libssh_common_CONTENTS='usr/share/doc/'
 libssh_devel_CONTENTS='usr/include/ usr/lib/'
 
This page took 0.045431 seconds and 5 git commands to generate.