From owner-svn-ports-all@freebsd.org Thu Aug 16 16:49:58 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4958A106E0D4; Thu, 16 Aug 2018 16:49:58 +0000 (UTC) (envelope-from zi@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id F08F98CE0A; Thu, 16 Aug 2018 16:49:57 +0000 (UTC) (envelope-from zi@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id D199B1C13D; Thu, 16 Aug 2018 16:49:57 +0000 (UTC) (envelope-from zi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w7GGnvQF088542; Thu, 16 Aug 2018 16:49:57 GMT (envelope-from zi@FreeBSD.org) Received: (from zi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w7GGnvWw088541; Thu, 16 Aug 2018 16:49:57 GMT (envelope-from zi@FreeBSD.org) Message-Id: <201808161649.w7GGnvWw088541@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: zi set sender to zi@FreeBSD.org using -f From: Ryan Steinmetz Date: Thu, 16 Aug 2018 16:49:57 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r477363 - head/net/mosh/files X-SVN-Group: ports-head X-SVN-Commit-Author: zi X-SVN-Commit-Paths: head/net/mosh/files X-SVN-Commit-Revision: 477363 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Aug 2018 16:49:58 -0000 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 */