From 08bfbb3db5f5297492ef14575bdb7481bc8404ab Mon Sep 17 00:00:00 2001 From: Saxon <18494610+Saxon-Sun@users.noreply.github.com> Date: Tue, 15 Dec 2020 18:26:23 +0800 Subject: [PATCH] Delete 020-musl.patch --- net/zerotier/patches/020-musl.patch | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 net/zerotier/patches/020-musl.patch diff --git a/net/zerotier/patches/020-musl.patch b/net/zerotier/patches/020-musl.patch deleted file mode 100644 index 755eb511..00000000 --- a/net/zerotier/patches/020-musl.patch +++ /dev/null @@ -1,25 +0,0 @@ ---- a/osdep/OSUtils.hpp -+++ b/osdep/OSUtils.hpp -@@ -37,9 +37,6 @@ - #include - #include - #include --#ifdef __LINUX__ --#include --#endif - #endif - - #ifndef OMIT_JSON_SUPPORT -@@ -211,11 +208,8 @@ public: - return (int64_t)( ((tmp.QuadPart - 116444736000000000LL) / 10000L) + st.wMilliseconds ); - #else - struct timeval tv; --#ifdef __LINUX__ -- syscall(SYS_gettimeofday,&tv,0); /* fix for musl libc broken gettimeofday bug */ --#else - gettimeofday(&tv,(struct timezone *)0); --#endif -+ - return ( (1000LL * (int64_t)tv.tv_sec) + (int64_t)(tv.tv_usec / 1000) ); - #endif - };