From: Rosen Penev Date: Sat, 14 Dec 2019 05:54:01 +0000 (-0800) Subject: mosh: Fix compilation with libcxx X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=3bfbb7d1dba923ebc3d54431bccf16b3b06ea297;p=openwrt-packages.git mosh: Fix compilation with libcxx Partial backport of upstream patch.`` Signed-off-by: Rosen Penev --- diff --git a/net/mosh/Makefile b/net/mosh/Makefile index c22041f16..b4a666b87 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 000000000..06ad284c7 --- /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; +