nut: update OpenSSL 1.1.0 patch
[feed/packages.git] / net / softethervpn5 / patches / 001-musl-poll-fix.patch
1 From a4ed6560017d0b9edcd7cab93ca05d80f794ec10 Mon Sep 17 00:00:00 2001
2 From: Rosen Penev <rosenp@gmail.com>
3 Date: Wed, 10 Jul 2019 17:01:01 -0700
4 Subject: [PATCH] Mayaqua: Replace GNU specific sys/poll.h header with POSIX
5 poll.h
6
7 Fixes warning from the musl libc:
8
9 warning redirecting incorrect #include <sys/poll.h> to <poll.h>
10 ---
11 src/Mayaqua/Mayaqua.h | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14 diff --git a/src/Mayaqua/Mayaqua.h b/src/Mayaqua/Mayaqua.h
15 index 0f46d52a..63c2edc3 100644
16 --- a/src/Mayaqua/Mayaqua.h
17 +++ b/src/Mayaqua/Mayaqua.h
18 @@ -157,8 +157,8 @@ int PASCAL WinMain(HINSTANCE hInst, HINSTANCE hPrev, char *CmdLine, int CmdShow)
19 #ifdef UNIX_SOLARIS
20 #include <sys/filio.h>
21 #endif // UNIX_SOLARIS
22 -#include <sys/poll.h>
23 #include <sys/resource.h>
24 +#include <poll.h>
25 #include <pthread.h>
26 #ifdef UNIX_LINUX
27 #include <sys/prctl.h>