Browse Source

zerotier: fix compilation with libcxx

Missing header.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
lilik-openwrt-22.03
Rosen Penev 5 years ago
parent
commit
697024f3a2
No known key found for this signature in database GPG Key ID: 36D31CFA845F0E3B
2 changed files with 11 additions and 1 deletions
  1. +1
    -1
      net/zerotier/Makefile
  2. +10
    -0
      net/zerotier/patches/010-mangix.patch

+ 1
- 1
net/zerotier/Makefile View 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)?


+ 10
- 0
net/zerotier/patches/010-mangix.patch View File

@ -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>

Loading…
Cancel
Save