diff options
| author | Sam James <sam@gentoo.org> | 2021-05-04 21:41:02 +0000 |
|---|---|---|
| committer | Sam James <sam@gentoo.org> | 2021-05-04 21:41:35 +0000 |
| commit | 8427ef73ba9e6ad18fbf873e1f07f607edc88392 (patch) | |
| tree | 8cafc1efc060c6dc1347eccd6de3c3c54cf70e70 /dev-db/redis/files | |
| parent | ef7b16d19bf872152a85bd352741c6816298901a (diff) | |
| download | gentoo-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.patch | 19 |
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 |
