summaryrefslogtreecommitdiffstats
path: root/main/task/musl-fix.patch
diff options
context:
space:
mode:
authorTimo Teräs <timo.teras@iki.fi>2013-12-17 09:39:52 +0000
committerTimo Teräs <timo.teras@iki.fi>2013-12-17 09:39:52 +0000
commitd78b46d25e88eaef297d0d4ed215721ad9c8d116 (patch)
tree7098891fc8cd7ae7c6cfe259f98a80953f58e3e0 /main/task/musl-fix.patch
parentc1a9ec431a31483c3c4527fe824dd21b8339bbf5 (diff)
downloadaports-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.patch30
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 000000000..91861ec2e
--- /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)
+ {