aboutsummaryrefslogtreecommitdiffstats
path: root/testing/i3status/musl-fix.patch
diff options
context:
space:
mode:
authork0r10n <k0r10n.dev@gmail.com>2014-12-06 12:15:57 +0400
committerNatanael Copa <ncopa@alpinelinux.org>2014-12-08 15:55:32 +0000
commitb8d19c15bccd04f036664c8c466130e10b58358f (patch)
treec05b7d049f04165aca01b2365b739d2006c37a84 /testing/i3status/musl-fix.patch
parent376aebed24e0ef3f3f4849fbe64b1e728b12f9dd (diff)
downloadaports-b8d19c15bccd04f036664c8c466130e10b58358f.tar.bz2
aports-b8d19c15bccd04f036664c8c466130e10b58358f.tar.xz
testing/i3status: New aport
Diffstat (limited to 'testing/i3status/musl-fix.patch')
-rw-r--r--testing/i3status/musl-fix.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/i3status/musl-fix.patch b/testing/i3status/musl-fix.patch
new file mode 100644
index 0000000000..b873fc9bed
--- /dev/null
+++ b/testing/i3status/musl-fix.patch
@@ -0,0 +1,13 @@
+--- a/include/i3status.h.orig
++++ b/include/i3status.h
+@@ -11,6 +11,10 @@
+ #include <unistd.h>
+ #include <string.h>
+
++#ifndef GLOB_TILDE
++#define GLOB_TILDE 0
++#endif
++
+ #define BEGINS_WITH(haystack, needle) (strncmp(haystack, needle, strlen(needle)) == 0)
+ #define max(a, b) ((a) > (b) ? (a) : (b))
+