From 376d0b76fdeac117ba9e6e31134bca006a169c7b Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Fri, 13 Dec 2019 21:54:01 -0800 Subject: [PATCH] mosh: Fix compilation with libcxx Partial backport of upstream patch.`` Signed-off-by: Rosen Penev (cherry picked from commit 3bfbb7d1dba923ebc3d54431bccf16b3b06ea297) --- net/mosh/Makefile | 2 +- net/mosh/patches/020-std.patch | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 net/mosh/patches/020-std.patch 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; + -- 2.30.2