mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-09-30 06:30:41 +00:00
mosh: Upgrade to 1.3.2
Fix building with clang/libc++ while here Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
9c4f08ba84
commit
21e3bb57ff
@ -0,0 +1,24 @@
|
|||||||
|
From efa9e49714b30d7d9128946a2504c93e10d109b5 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Khem Raj <raj.khem@gmail.com>
|
||||||
|
Date: Tue, 29 Jan 2019 12:20:03 -0800
|
||||||
|
Subject: [PATCH] Fix building with libc++
|
||||||
|
|
||||||
|
Upstream-Status: Pending
|
||||||
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||||
|
---
|
||||||
|
src/network/network.cc | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/src/network/network.cc b/src/network/network.cc
|
||||||
|
index 26da603..e480853 100644
|
||||||
|
--- a/src/network/network.cc
|
||||||
|
+++ b/src/network/network.cc
|
||||||
|
@@ -335,7 +335,7 @@ bool Connection::try_bind( const char *addr, int port_low, int port_high )
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
- 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 */
|
||||||
@ -14,9 +14,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
|
|||||||
|
|
||||||
DEPENDS = "protobuf-native protobuf ncurses zlib libio-pty-perl openssl libutempter"
|
DEPENDS = "protobuf-native protobuf ncurses zlib libio-pty-perl openssl libutempter"
|
||||||
|
|
||||||
SRC_URI = "http://mosh.mit.edu/mosh-${PV}.tar.gz"
|
SRC_URI = "http://mosh.mit.edu/mosh-${PV}.tar.gz \
|
||||||
SRC_URI[md5sum] = "d961276995936953bf2d5a794068b076"
|
file://0001-Fix-building-with-libc.patch \
|
||||||
SRC_URI[sha256sum] = "320e12f461e55d71566597976bd9440ba6c5265fa68fbf614c6f1c8401f93376"
|
"
|
||||||
|
SRC_URI[md5sum] = "5122f4d2b973ab7c38dcdac8c35cb61e"
|
||||||
|
SRC_URI[sha256sum] = "da600573dfa827d88ce114e0fed30210689381bbdcff543c931e4d6a2e851216"
|
||||||
|
|
||||||
inherit autotools pkgconfig
|
inherit autotools pkgconfig
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user