mirror of
https://github.com/openwrt/packages.git
synced 2025-12-26 11:16:31 +04:00
mosh: Fix compilation with libcxx
Partial backport of upstream patch.`` Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user