You've already forked macports-ports
mirror of
https://github.com/encounter/macports-ports.git
synced 2026-07-10 12:19:27 -07:00
redis: fix compilation on arm64
Closes: https://trac.macports.org/ticket/61808
This commit is contained in:
committed by
Chris Jones
parent
2bbd645dbc
commit
eaa0a40711
@@ -23,7 +23,8 @@ checksums rmd160 590bec2469980b73e80286cfac7c23aa69d7a9a9 \
|
||||
sha256 79bbb894f9dceb33ca699ee3ca4a4e1228be7fb5547aeb2f99d921e86c1285bd \
|
||||
size 2271970
|
||||
|
||||
patchfiles patch-redis.conf.diff
|
||||
patchfiles patch-redis.conf.diff \
|
||||
patch-arm64.diff
|
||||
|
||||
post-patch {
|
||||
reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/redis.conf
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
--- src/debug.c.orig 2021-02-07 02:40:15.441617896 -0500
|
||||
+++ src/debug.c 2021-02-07 02:36:13.753866520 -0500
|
||||
@@ -53,6 +53,10 @@
|
||||
#endif
|
||||
#endif
|
||||
|
||||
+#if defined(__APPLE__) && defined(__arm64__) && defined(USE_JEMALLOC)
|
||||
+#include <mach/mach.h>
|
||||
+#endif
|
||||
+
|
||||
/* ================================= Debugging ============================== */
|
||||
|
||||
/* Compute the sha1 of string at 's' with 'len' bytes long.
|
||||
Reference in New Issue
Block a user