diff options
Diffstat (limited to 'main/task/musl-fix.patch')
-rw-r--r-- | main/task/musl-fix.patch | 36 |
1 files changed, 16 insertions, 20 deletions
diff --git a/main/task/musl-fix.patch b/main/task/musl-fix.patch index 4cc586980c..54a5167d69 100644 --- a/main/task/musl-fix.patch +++ b/main/task/musl-fix.patch @@ -1,20 +1,16 @@ -diff --git a/src/Path.cpp b/src/Path.cpp -index 94657e2..6a82199 100644 ---- a/src/Path.cpp -+++ b/src/Path.cpp -@@ -38,6 +38,15 @@ - #include <Directory.h> - #include <Path.h> - -+/* fixes build with musl libc */ -+#ifndef GLOB_TILDE -+#define GLOB_TILDE 0 -+#endif -+ -+#ifndef GLOB_BRACE -+#define GLOB_BRACE 0 -+#endif -+ - //////////////////////////////////////////////////////////////////////////////// - std::ostream& operator<< (std::ostream& out, const Path& path) - { +diff --git a/src/TLSClient.cpp b/src/TLSClient.cpp +index c67ed44..72da081 100644 +--- a/src/TLSClient.cpp ++++ b/src/TLSClient.cpp +@@ -36,11 +36,7 @@ + #include <string.h> + #include <sys/socket.h> + #include <arpa/inet.h> +-#if (defined OPENBSD || defined SOLARIS || defined NETBSD) + #include <errno.h> +-#else +-#include <sys/errno.h> +-#endif + #include <sys/types.h> + #include <sys/socket.h> + #include <netdb.h> |