summaryrefslogtreecommitdiff
path: root/dev-db/redis/files
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2021-05-04 21:41:02 +0000
committerSam James <sam@gentoo.org>2021-05-04 21:41:35 +0000
commit8427ef73ba9e6ad18fbf873e1f07f607edc88392 (patch)
tree8cafc1efc060c6dc1347eccd6de3c3c54cf70e70 /dev-db/redis/files
parentef7b16d19bf872152a85bd352741c6816298901a (diff)
downloadgentoo-8427ef73ba9e6ad18fbf873e1f07f607edc88392.tar.gz
gentoo-8427ef73ba9e6ad18fbf873e1f07f607edc88392.tar.bz2
gentoo-8427ef73ba9e6ad18fbf873e1f07f607edc88392.zip
dev-db/redis: add 6.2.3
Bug: https://bugs.gentoo.org/788211 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-db/redis/files')
-rw-r--r--dev-db/redis/files/redis-6.2.3-ppc-atomic.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/dev-db/redis/files/redis-6.2.3-ppc-atomic.patch b/dev-db/redis/files/redis-6.2.3-ppc-atomic.patch
new file mode 100644
index 000000000000..8990b00ccdc0
--- /dev/null
+++ b/dev-db/redis/files/redis-6.2.3-ppc-atomic.patch
@@ -0,0 +1,19 @@
+diff --git a/src/Makefile b/src/Makefile
+index 5b2cf1c..9e1239d 100644
+--- a/src/Makefile
++++ b/src/Makefile
+@@ -87,6 +87,14 @@ FINAL_LIBS=-lm
+ FINAL_LIBS+=@LUA_LIBS@
+ DEBUG=-g -ggdb
+
++ifneq (,$(filter powerpc ppc,$(uname_M)))
++ FINAL_LIBS+=-latomic
++else
++ifneq (,$(findstring ppc,$(uname_M)))
++ FINAL_LIBS+=-latomic
++endif
++endif
++
+ # Linux ARM32 needs -latomic at linking time
+ ifneq (,$(findstring armv,$(uname_M)))
+ FINAL_LIBS+=-latomic