update to mosh-1.4.0, with tweaks from jca@ (maintainer)
This commit is contained in:
parent
eab8549545
commit
01ee5a9e99
|
@ -1,7 +1,6 @@
|
||||||
COMMENT = mobile shell
|
COMMENT = mobile shell
|
||||||
|
|
||||||
DISTNAME = mosh-1.3.2
|
DISTNAME = mosh-1.4.0
|
||||||
REVISION = 5
|
|
||||||
|
|
||||||
CATEGORIES = net
|
CATEGORIES = net
|
||||||
|
|
||||||
|
@ -25,9 +24,9 @@ COMPILER = base-clang ports-gcc
|
||||||
|
|
||||||
LIB_DEPENDS = devel/protobuf
|
LIB_DEPENDS = devel/protobuf
|
||||||
|
|
||||||
|
USE_GMAKE = Yes
|
||||||
CONFIGURE_STYLE = gnu
|
CONFIGURE_STYLE = gnu
|
||||||
# don't force PIE which doesn't work on all arches
|
# don't force PIE which doesn't work on all arches
|
||||||
CONFIGURE_ENV = ax_cv_check_cflags__Werror___fPIE=no \
|
CONFIGURE_ENV = ax_cv_check_cxxflags__Werror___fPIE=no
|
||||||
ax_cv_check_cxxflags__Werror___fPIE=no
|
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
SHA256 (mosh-1.3.2.tar.gz) = 2mAFc9+oJ9iM4RTg/tMCEGiTgbvc/1Q8kx5Nai6FEhY=
|
SHA256 (mosh-1.4.0.tar.gz) = hy5LE05d8pyJM9/xI1B4UFTS/Sg5ta5rVYexTbFGXd0=
|
||||||
SIZE (mosh-1.3.2.tar.gz) = 359574
|
SIZE (mosh-1.4.0.tar.gz) = 393465
|
||||||
|
|
|
@ -1,15 +0,0 @@
|
||||||
Ambiguous bind(2) call.
|
|
||||||
https://github.com/mobile-shell/mosh/commit/e5f8a826ef9ff5da4cfce3bb8151f9526ec19db0
|
|
||||||
|
|
||||||
Index: src/network/network.cc
|
|
||||||
--- src/network/network.cc.orig
|
|
||||||
+++ src/network/network.cc
|
|
||||||
@@ -335,7 +335,7 @@ bool Connection::try_bind( const char *addr, int port_
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
- 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 */
|
|
Loading…
Reference in New Issue
Block a user