From: Rosen Penev Date: Sat, 14 Dec 2019 05:54:01 +0000 (-0800) Subject: mosh: Fix compilation with libcxx X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=376d0b76fdeac117ba9e6e31134bca006a169c7b;p=feed%2Fpackages.git mosh: Fix compilation with libcxx Partial backport of upstream patch.`` Signed-off-by: Rosen Penev (cherry picked from commit 3bfbb7d1dba923ebc3d54431bccf16b3b06ea297) --- diff --git a/net/mosh/Makefile b/net/mosh/Makefile index c22041f166..b4a666b872 100644 --- a/net/mosh/Makefile +++ b/net/mosh/Makefile @@ -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/ diff --git a/net/mosh/patches/020-std.patch b/net/mosh/patches/020-std.patch new file mode 100644 index 0000000000..06ad284c76 --- /dev/null +++ b/net/mosh/patches/020-std.patch @@ -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; +