toolchain/musl: add version 0.9.15, remove older versions (still broken, but closer...
[openwrt/openwrt.git] / toolchain / musl / patches-0.9.15 / 120-add_glob_onlydir.patch
diff --git a/toolchain/musl/patches-0.9.15/120-add_glob_onlydir.patch b/toolchain/musl/patches-0.9.15/120-add_glob_onlydir.patch
new file mode 100644 (file)
index 0000000..db0bc22
--- /dev/null
@@ -0,0 +1,11 @@
+--- a/include/glob.h
++++ b/include/glob.h
+@@ -31,6 +31,8 @@ void globfree(glob_t *);
+ #define GLOB_NOESCAPE 0x40
+ #define       GLOB_PERIOD   0x80
++#define GLOB_ONLYDIR  0x100
++
+ #define GLOB_NOSPACE 1
+ #define GLOB_ABORTED 2
+ #define GLOB_NOMATCH 3