summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2019-01-29 12:22:29 -0800
committerKhem Raj <raj.khem@gmail.com>2019-01-30 13:34:49 -0800
commit21e3bb57ff6fbe5142ad5920430fe02951e343fc (patch)
treeee0025530cec03d3fba1cabfb928b7c35c377e4e
parent9c4f08ba84e394157d029851c46fdee49967211a (diff)
downloadmeta-openembedded-21e3bb57ff6fbe5142ad5920430fe02951e343fc.tar.gz
mosh: Upgrade to 1.3.2
Fix building with clang/libc++ while here Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-connectivity/mosh/mosh/0001-Fix-building-with-libc.patch24
-rw-r--r--meta-oe/recipes-connectivity/mosh/mosh_1.3.2.bb (renamed from meta-oe/recipes-connectivity/mosh/mosh_1.3.0.bb)8
2 files changed, 29 insertions, 3 deletions
diff --git a/meta-oe/recipes-connectivity/mosh/mosh/0001-Fix-building-with-libc.patch b/meta-oe/recipes-connectivity/mosh/mosh/0001-Fix-building-with-libc.patch
new file mode 100644
index 0000000000..100ede17bd
--- /dev/null
+++ b/meta-oe/recipes-connectivity/mosh/mosh/0001-Fix-building-with-libc.patch
@@ -0,0 +1,24 @@
1From efa9e49714b30d7d9128946a2504c93e10d109b5 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Tue, 29 Jan 2019 12:20:03 -0800
4Subject: [PATCH] Fix building with libc++
5
6Upstream-Status: Pending
7Signed-off-by: Khem Raj <raj.khem@gmail.com>
8---
9 src/network/network.cc | 2 +-
10 1 file changed, 1 insertion(+), 1 deletion(-)
11
12diff --git a/src/network/network.cc b/src/network/network.cc
13index 26da603..e480853 100644
14--- a/src/network/network.cc
15+++ b/src/network/network.cc
16@@ -335,7 +335,7 @@ bool Connection::try_bind( const char *addr, int port_low, int port_high )
17 }
18 }
19
20- if ( bind( sock(), &local_addr.sa, local_addr_len ) == 0 ) {
21+ if ( ::bind( sock(), &local_addr.sa, local_addr_len ) == 0 ) {
22 set_MTU( local_addr.sa.sa_family );
23 return true;
24 } else if ( i == search_high ) { /* last port to search */
diff --git a/meta-oe/recipes-connectivity/mosh/mosh_1.3.0.bb b/meta-oe/recipes-connectivity/mosh/mosh_1.3.2.bb
index 9fc8435ee6..9c439354d1 100644
--- a/meta-oe/recipes-connectivity/mosh/mosh_1.3.0.bb
+++ b/meta-oe/recipes-connectivity/mosh/mosh_1.3.2.bb
@@ -14,9 +14,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
14 14
15DEPENDS = "protobuf-native protobuf ncurses zlib libio-pty-perl openssl libutempter" 15DEPENDS = "protobuf-native protobuf ncurses zlib libio-pty-perl openssl libutempter"
16 16
17SRC_URI = "http://mosh.mit.edu/mosh-${PV}.tar.gz" 17SRC_URI = "http://mosh.mit.edu/mosh-${PV}.tar.gz \
18SRC_URI[md5sum] = "d961276995936953bf2d5a794068b076" 18 file://0001-Fix-building-with-libc.patch \
19SRC_URI[sha256sum] = "320e12f461e55d71566597976bd9440ba6c5265fa68fbf614c6f1c8401f93376" 19 "
20SRC_URI[md5sum] = "5122f4d2b973ab7c38dcdac8c35cb61e"
21SRC_URI[sha256sum] = "da600573dfa827d88ce114e0fed30210689381bbdcff543c931e4d6a2e851216"
20 22
21inherit autotools pkgconfig 23inherit autotools pkgconfig
22 24