Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Aug 2018 16:49:57 +0000 (UTC)
From:      Ryan Steinmetz <zi@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r477363 - head/net/mosh/files
Message-ID:  <201808161649.w7GGnvWw088541@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 */



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201808161649.w7GGnvWw088541>