1 redis-001-uclibc.patch: This patch fixes redis so that it can be compiled
2 against uclibc. Patch originates from:
4 Support cross-compiling for uClibc targets
5 https://github.com/antirez/redis/pull/537
6 Mike Steinert, mike.steinert@gmail.com
8 Signed-off-by: Daniel Price <daniel.price@gmail.com>
9 [Martin: adapt to 3.0.3]
10 Signed-off-by: Martin Bark <martin@barkynet.com>
12 =========================================================================
13 diff -ur old/src/config.h new/src/config.h
14 --- old/src/config.h 2012-10-26 07:20:24.000000000 -0700
15 +++ new/src/config.h 2012-10-31 13:41:51.206309564 -0700
19 /* Test for backtrace() */
20 -#if defined(__APPLE__) || (defined(__linux__) && defined(__GLIBC__))
21 +#if defined(__APPLE__) || (defined(__linux__) && defined(__GLIBC__) && !defined(__UCLIBC__))
22 #define HAVE_BACKTRACE 1