diff options
| author | Tomáš Mózes <hydrapolic@gmail.com> | 2020-03-17 19:52:00 +0000 |
|---|---|---|
| committer | Thomas Deutschmann <whissi@gentoo.org> | 2020-03-20 15:52:13 +0100 |
| commit | cb20cb4fc5767f864df20caa4a499ab0c6599b13 (patch) | |
| tree | ede6c692e23e8fa15b096006c3e274a27df503a4 /dev-db/redis/files/redis-5.0.8-ppc-atomic.patch | |
| parent | 9b7aa3c140092dfc09e57cfa7c8994a1695718b5 (diff) | |
| download | gentoo-cb20cb4fc5767f864df20caa4a499ab0c6599b13.tar.gz gentoo-cb20cb4fc5767f864df20caa4a499ab0c6599b13.tar.bz2 gentoo-cb20cb4fc5767f864df20caa4a499ab0c6599b13.zip | |
dev-db/redis: bump to 5.0.8
Closes: https://bugs.gentoo.org/652098
Tested-by: ernsteiswuerfel <erhard_f@mailbox.org>
Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/14994
Signed-off-by: Thomas Deutschmann <whissi@gentoo.org>
Diffstat (limited to 'dev-db/redis/files/redis-5.0.8-ppc-atomic.patch')
| -rw-r--r-- | dev-db/redis/files/redis-5.0.8-ppc-atomic.patch | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/dev-db/redis/files/redis-5.0.8-ppc-atomic.patch b/dev-db/redis/files/redis-5.0.8-ppc-atomic.patch new file mode 100644 index 000000000000..61a4cc721eb1 --- /dev/null +++ b/dev-db/redis/files/redis-5.0.8-ppc-atomic.patch @@ -0,0 +1,19 @@ +diff --git a/src/Makefile b/src/Makefile +index 4b2a31c..4ef853b 100644 +--- a/src/Makefile ++++ b/src/Makefile +@@ -77,6 +77,14 @@ FINAL_LDFLAGS=$(LDFLAGS) $(REDIS_LDFLAGS) $(DEBUG) + FINAL_LIBS=-lm + DEBUG=-g -ggdb + ++ifneq (,$(filter powerpc ppc,$(uname_M))) ++ FINAL_LIBS+=-latomic ++else ++ifneq (,$(findstring ppc,$(uname_M))) ++ FINAL_LIBS+=-latomic ++endif ++endif ++ + # Linux ARM needs -latomic at linking time + ifneq (,$(filter aarch64 armv,$(uname_M))) + FINAL_LIBS+=-latomic |
