svn commit: r477363 - head/net/mosh/files

Ryan Steinmetz zi at FreeBSD.org
Thu Aug 16 16:49:58 UTC 2018


Author: zi
Date: Thu Aug 16 16:49:57 2018
New Revision: 477363
URL: https://svnweb.freebsd.org/changeset/ports/477363

Log:
  - Fix build failure with libc++ 7
  
  PR:		230624
  Obtained from:	upstream commit e5f8a82

Added:
  head/net/mosh/files/
  head/net/mosh/files/patch-src_network_network.cc   (contents, props changed)

Added: head/net/mosh/files/patch-src_network_network.cc
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net/mosh/files/patch-src_network_network.cc	Thu Aug 16 16:49:57 2018	(r477363)
@@ -0,0 +1,11 @@
+--- src/network/network.cc.orig	2017-07-22 21:14:53 UTC
++++ src/network/network.cc
+@@ -335,7 +335,7 @@ bool Connection::try_bind( const char *a
+       }
+     }
+ 
+-    if ( bind( sock(), &local_addr.sa, local_addr_len ) == 0 ) {
++    if ( ::bind( sock(), &local_addr.sa, local_addr_len ) == 0 ) {
+       set_MTU( local_addr.sa.sa_family );
+       return true;
+     } else if ( i == search_high ) { /* last port to search */


More information about the svn-ports-all mailing list