summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/redis/redis-7/oe-use-libc-malloc.patch
diff options
context:
space:
mode:
authorOleksandr Kravchuk <open.source@oleksandr-kravchuk.com>2022-02-01 22:01:53 +0100
committerKhem Raj <raj.khem@gmail.com>2022-02-03 08:44:32 -0800
commitc8544b3627fdd026a0e3e85a64f8af37e0417919 (patch)
tree174441c63c5337be692a406df13eb3e61530016d /meta-oe/recipes-extended/redis/redis-7/oe-use-libc-malloc.patch
parent7c0c424b472ddc7ecc47137f6370a85f5b53a7b1 (diff)
downloadmeta-openembedded-c8544b3627fdd026a0e3e85a64f8af37e0417919.tar.gz
redis: add recipe for 7.0-rc1
Redis 7.0 "includes changes that potentially break backwards compatibility with older versions", so let's let folks some time to test 7.0 and later decide which version(s) we want to keep. Signed-off-by: Oleksandr Kravchuk <open.source@oleksandr-kravchuk.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-extended/redis/redis-7/oe-use-libc-malloc.patch')
-rw-r--r--meta-oe/recipes-extended/redis/redis-7/oe-use-libc-malloc.patch34
1 files changed, 34 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/redis/redis-7/oe-use-libc-malloc.patch b/meta-oe/recipes-extended/redis/redis-7/oe-use-libc-malloc.patch
new file mode 100644
index 0000000000..bf6d0cf3c1
--- /dev/null
+++ b/meta-oe/recipes-extended/redis/redis-7/oe-use-libc-malloc.patch
@@ -0,0 +1,34 @@
1From 88da6b19ecd00747769663e913aba5e9569c489d Mon Sep 17 00:00:00 2001
2From: Venture Research <tech@ventureresearch.com>
3Date: Wed, 6 Feb 2013 20:51:02 -0600
4Subject: [PATCH] hack to force use of libc malloc
5
6Hack to force libc usage as it seems the option to pass it in has been
7removed in favor of magic.
8
9Note that this of course doesn't allow tcmalloc and jemalloc, however
10jemalloc wasn't building correctly.
11
12Signed-off-by: Venture Research <tech@ventureresearch.com>
13
14Update to work with 4.0.8
15Signed-off-by: Alistair Francis <alistair.francis@wdc.com>
16
17---
18 src/Makefile | 3 ++-
19 1 file changed, 2 insertions(+), 1 deletion(-)
20
21diff --git a/src/Makefile b/src/Makefile
22index 2a0d74d..ddabd44 100644
23--- a/src/Makefile
24+++ b/src/Makefile
25@@ -13,7 +13,8 @@
26 # Just use 'make dep', but this is only needed by developers.
27
28 release_hdr := $(shell sh -c './mkreleasehdr.sh')
29-uname_S := $(shell sh -c 'uname -s 2>/dev/null || echo not')
30+# use fake uname option to force use of generic libc
31+uname_S := "USE_LIBC_MALLOC"
32 uname_M := $(shell sh -c 'uname -m 2>/dev/null || echo not')
33 OPTIMIZATION?=-O2
34 DEPENDENCY_TARGETS=hiredis linenoise lua hdr_histogram