From d78b46d25e88eaef297d0d4ed215721ad9c8d116 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Timo=20Ter=C3=A4s?= Date: Tue, 17 Dec 2013 09:39:52 +0000 Subject: main/task: fix musl build --- main/task/musl-fix.patch | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 main/task/musl-fix.patch (limited to 'main/task/musl-fix.patch') diff --git a/main/task/musl-fix.patch b/main/task/musl-fix.patch new file mode 100644 index 0000000000..91861ec2e8 --- /dev/null +++ b/main/task/musl-fix.patch @@ -0,0 +1,30 @@ +--- task-2.2.0.orig/src/Directory.cpp ++++ task-2.2.0/src/Directory.cpp +@@ -34,10 +34,7 @@ + #include + #include + #include +- +-#ifdef SOLARIS + #include +-#endif + + //////////////////////////////////////////////////////////////////////////////// + Directory::Directory () +--- task-2.2.0.orig/src/Path.cpp ++++ task-2.2.0/src/Path.cpp +@@ -38,6 +38,14 @@ + #include + #include + ++#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) + { -- cgit v1.2.3