1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 03:35:38 +03:00
aports/testing/redis/redis-no-backtrace.patch
Eivind Uggedal 0d4c88881f testing/redis: upgrade to 2.6.17
And fix musl build by disabling backtrace support
2014-04-16 12:24:20 +00:00

11 lines
281 B
Diff

--- src/redis-2.6.16/src/config.h.orig
+++ src/redis-2.6.16/src/config.h
@@ -54,7 +54,7 @@
#endif
/* Test for backtrace() */
-#if defined(__APPLE__) || defined(__linux__)
+#if defined(__APPLE__) || (defined(__linux__) && defined(__GLIBC__))
#define HAVE_BACKTRACE 1
#endif