mosh: Fix compilation with libcxx

Partial backport of upstream patch.``

Signed-off-by: Rosen Penev <rosenp@gmail.com>
(cherry picked from commit 3bfbb7d1db)
This commit is contained in:
Rosen Penev 2019-12-13 21:54:01 -08:00
parent 913f95a4bd
commit 376d0b76fd
2 changed files with 11 additions and 1 deletions

View file

@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
PKG_NAME:=mosh
PKG_VERSION:=1.3.2
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=https://mosh.org/

View file

@ -0,0 +1,10 @@
--- a/src/network/network.cc
+++ b/src/network/network.cc
@@ -60,7 +60,6 @@
#define AI_NUMERICSERV 0
#endif
-using namespace std;
using namespace Network;
using namespace Crypto;