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
|
||||
|
||||
DISTNAME = mosh-1.3.2
|
||||
REVISION = 5
|
||||
DISTNAME = mosh-1.4.0
|
||||
|
||||
CATEGORIES = net
|
||||
|
||||
@ -25,9 +24,9 @@ COMPILER = base-clang ports-gcc
|
||||
|
||||
LIB_DEPENDS = devel/protobuf
|
||||
|
||||
USE_GMAKE = Yes
|
||||
CONFIGURE_STYLE = gnu
|
||||
# don't force PIE which doesn't work on all arches
|
||||
CONFIGURE_ENV = ax_cv_check_cflags__Werror___fPIE=no \
|
||||
ax_cv_check_cxxflags__Werror___fPIE=no
|
||||
CONFIGURE_ENV = ax_cv_check_cxxflags__Werror___fPIE=no
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,2 +1,2 @@
|
||||
SHA256 (mosh-1.3.2.tar.gz) = 2mAFc9+oJ9iM4RTg/tMCEGiTgbvc/1Q8kx5Nai6FEhY=
|
||||
SIZE (mosh-1.3.2.tar.gz) = 359574
|
||||
SHA256 (mosh-1.4.0.tar.gz) = hy5LE05d8pyJM9/xI1B4UFTS/Sg5ta5rVYexTbFGXd0=
|
||||
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…
x
Reference in New Issue
Block a user