zerotier: fix compilation with libcxx
authorRosen Penev <redacted>
Tue, 4 Feb 2020 05:04:48 +0000 (21:04 -0800)
committerRosen Penev <redacted>
Tue, 4 Feb 2020 05:08:48 +0000 (21:08 -0800)
Missing header.

Signed-off-by: Rosen Penev <redacted>
net/zerotier/Makefile
net/zerotier/patches/010-mangix.patch [new file with mode: 0644]

index 4413da2df0d9284bba0c28c4735e7c05dc0ad4b4..14a9d6fe89250d86056ffb36497945e3444b56fd 100644 (file)
@@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=zerotier
 PKG_VERSION:=1.4.6
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://codeload.github.com/zerotier/ZeroTierOne/tar.gz/$(PKG_VERSION)?
diff --git a/net/zerotier/patches/010-mangix.patch b/net/zerotier/patches/010-mangix.patch
new file mode 100644 (file)
index 0000000..68e3bc5
--- /dev/null
@@ -0,0 +1,10 @@
+--- a/osdep/LinuxNetLink.hpp
++++ b/osdep/LinuxNetLink.hpp
+@@ -18,6 +18,7 @@
+ #ifdef __LINUX__
++#include <cerrno>
+ #include <vector>
+ #include <sys/socket.h>
git clone https://git.99rst.org/PROJECT