aboutsummaryrefslogtreecommitdiff
path: root/package/redis/0001-uclibc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/redis/0001-uclibc.patch')
-rw-r--r--package/redis/0001-uclibc.patch4
1 files changed, 3 insertions, 1 deletions
diff --git a/package/redis/0001-uclibc.patch b/package/redis/0001-uclibc.patch
index 3329a60edc..197f43e7a7 100644
--- a/package/redis/0001-uclibc.patch
+++ b/package/redis/0001-uclibc.patch
@@ -10,6 +10,8 @@ Signed-off-by: Daniel Price <daniel.price@gmail.com>
Signed-off-by: Martin Bark <martin@barkynet.com>
[Titouan: adapt to 5.0.4]
Signed-off-by: Titouan Christophe <titouan.christophe@railnova.eu>
+[Fabrice: update for 6.0.9]
+Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
=========================================================================
diff -ur old/src/config.h new/src/config.h
@@ -21,6 +23,6 @@ diff -ur old/src/config.h new/src/config.h
/* Test for backtrace() */
-#if defined(__APPLE__) || (defined(__linux__) && defined(__GLIBC__)) || \
+#if defined(__APPLE__) || (defined(__linux__) && defined(__GLIBC__) && !defined(__UCLIBC__)) || \
- defined(__FreeBSD__) || (defined(__OpenBSD__) && defined(USE_BACKTRACE))\
+ defined(__FreeBSD__) || ((defined(__OpenBSD__) || defined(__NetBSD__)) && defined(USE_BACKTRACE))\
|| defined(__DragonFly__)
#define HAVE_BACKTRACE 1