diff options
author | Timo Teräs <timo.teras@iki.fi> | 2013-12-17 09:39:52 +0000 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2013-12-17 09:39:52 +0000 |
commit | d78b46d25e88eaef297d0d4ed215721ad9c8d116 (patch) | |
tree | 7098891fc8cd7ae7c6cfe259f98a80953f58e3e0 /main/task/musl-fix.patch | |
parent | c1a9ec431a31483c3c4527fe824dd21b8339bbf5 (diff) | |
download | aports-d78b46d25e88eaef297d0d4ed215721ad9c8d116.tar.bz2 aports-d78b46d25e88eaef297d0d4ed215721ad9c8d116.tar.xz |
main/task: fix musl build
Diffstat (limited to 'main/task/musl-fix.patch')
-rw-r--r-- | main/task/musl-fix.patch | 30 |
1 files changed, 30 insertions, 0 deletions
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 <string.h> + #include <Directory.h> + #include <cmake.h> +- +-#ifdef SOLARIS + #include <limits.h> +-#endif + + //////////////////////////////////////////////////////////////////////////////// + Directory::Directory () +--- task-2.2.0.orig/src/Path.cpp ++++ task-2.2.0/src/Path.cpp +@@ -38,6 +38,14 @@ + #include <Path.h> + #include <cmake.h> + ++#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) + { |