void-packages/srcpkgs/chuck/patches/musl-glob.patch
Jürgen Buchmüller e24d1c970d chuck: unbreak musl
2015-10-25 16:01:59 +01:00

16 lines
384 B
Diff

In musl libc there is no GLOB_TILDE defined.
--- chuck-1.3.5.2/src/util_string.cpp 2015-10-21 11:04:45.000000000 +0200
+++ chuck-1.3.5.2/src/util_string.cpp 2015-10-25 15:54:10.284686182 +0100
@@ -41,6 +41,11 @@
#endif // __PLATFORM_LINUX__
#include <stdio.h>
+
+#if !defined(__GLIBC__)
+#define GLOB_TILDE 0 // unsupported GNU libc extension
+#endif
+
using namespace std;