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:
parent
913f95a4bd
commit
376d0b76fd
2 changed files with 11 additions and 1 deletions
|
@ -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/
|
||||
|
|
10
net/mosh/patches/020-std.patch
Normal file
10
net/mosh/patches/020-std.patch
Normal 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;
|
||||
|
Loading…
Reference in a new issue