diff options
author | Lucas Grzegorczyk | 2024-04-26 23:23:43 +0200 |
---|---|---|
committer | Lucas Grzegorczyk | 2024-04-26 23:23:43 +0200 |
commit | cc0a42d9dbb4a614d4c181fe87b0b7d6a5a54f11 (patch) | |
tree | 1fe4f1101727ea00132b905c06d58928c838ec36 /valkey.dir-jemalloc.patch | |
parent | 39ea0354ec19d47875e2d04e9cd195233187dd9b (diff) | |
download | aur-valkey-git.tar.gz |
Fix tests not passing
Diffstat (limited to 'valkey.dir-jemalloc.patch')
-rw-r--r-- | valkey.dir-jemalloc.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/valkey.dir-jemalloc.patch b/valkey.dir-jemalloc.patch new file mode 100644 index 000000000000..62aee72683f2 --- /dev/null +++ b/valkey.dir-jemalloc.patch @@ -0,0 +1,26 @@ +diff --unified --recursive --text valkey.orig/src/Makefile valkey.new/src/Makefile +--- valkey.orig/src/Makefile 2024-04-16 06:18:47.000000000 +0200 ++++ valkey.new/src/Makefile 2024-04-24 22:24:12.967476997 +0200 +@@ -275,8 +275,8 @@ + + ifeq ($(MALLOC),jemalloc) + DEPENDENCY_TARGETS+= jemalloc +- FINAL_CFLAGS+= -DUSE_JEMALLOC -I../deps/jemalloc/include +- FINAL_LIBS := ../deps/jemalloc/lib/libjemalloc.a $(FINAL_LIBS) ++ FINAL_CFLAGS+= -DUSE_JEMALLOC -DJEMALLOC_NO_DEMANGLE -I/usr/include/jemalloc ++ FINAL_LIBS := -ljemalloc $(FINAL_LIBS) + endif + + # LIBSSL & LIBCRYPTO +diff --unified --recursive --text valkey.orig/valkey.conf valkey.new/valkey.conf +--- valkey.orig/valkey.conf 2024-04-16 06:18:47.000000000 +0200 ++++ valkey.new/valkey.conf 2024-04-24 22:23:23.050733391 +0200 +@@ -504,7 +504,7 @@ + # The Append Only File will also be created inside this directory. + # + # Note that you must specify a directory here, not a file name. +-dir ./ ++dir /var/lib/valkey/ + + ################################# REPLICATION ################################# + |