[136680] trunk/dports/devel/libssh

ionic at macports.org ionic at macports.org
Sat May 23 19:03:42 PDT 2015


Revision: 136680
          https://trac.macports.org/changeset/136680
Author:   ionic at macports.org
Date:     2015-05-23 19:03:42 -0700 (Sat, 23 May 2015)
Log Message:
-----------
libssh: add patch fixing linking failures for software still using the newly, but incorrectly deprecated ssh_forward_listen() function.

Modified Paths:
--------------
    trunk/dports/devel/libssh/Portfile

Added Paths:
-----------
    trunk/dports/devel/libssh/files/
    trunk/dports/devel/libssh/files/patch-src_channels.c-readd-deprecated-ssh_forward_listen.diff

Modified: trunk/dports/devel/libssh/Portfile
===================================================================
--- trunk/dports/devel/libssh/Portfile	2015-05-24 01:11:32 UTC (rev 136679)
+++ trunk/dports/devel/libssh/Portfile	2015-05-24 02:03:42 UTC (rev 136680)
@@ -7,6 +7,7 @@
 name                libssh
 epoch               1
 version             0.7.0
+revision            1
 master_sites        https://git.libssh.org/projects/libssh.git/snapshot/
 use_bzip2           yes
 checksums           rmd160  ab4b2fb7ce62ba900f50a3a19a2de58551ceea46 \
@@ -26,6 +27,8 @@
 
 homepage            http://www.libssh.org
 
+patchfiles          patch-src_channels.c-readd-deprecated-ssh_forward_listen.diff
+
 depends_build-append \
                     port:pkgconfig
 

Added: trunk/dports/devel/libssh/files/patch-src_channels.c-readd-deprecated-ssh_forward_listen.diff
===================================================================
--- trunk/dports/devel/libssh/files/patch-src_channels.c-readd-deprecated-ssh_forward_listen.diff	                        (rev 0)
+++ trunk/dports/devel/libssh/files/patch-src_channels.c-readd-deprecated-ssh_forward_listen.diff	2015-05-24 02:03:42 UTC (rev 136680)
@@ -0,0 +1,14 @@
+--- src/channels.c.old	2015-05-24 03:00:36.000000000 +0200
++++ src/channels.c	2015-05-24 03:05:02.000000000 +0200
+@@ -2142,6 +2142,11 @@ error:
+   return rc;
+ }
+ 
++/* DEPRECATED */
++int ssh_forward_listen(ssh_session session, const char *address, int port, int *bound_port) {
++  return ssh_channel_listen_forward(session, address, port, bound_port);
++}
++
+ /**
+  * @brief Sends the "tcpip-forward" global request to ask the server to begin
+  *        listening for inbound connections.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150523/9b83ce51/attachment.html>


More information about the macports-changes mailing list