<pre style='margin:0'>
Mohamed Akram (mohd-akram) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/324d6466fade230a012d4ee181d2222d277f792e">https://github.com/macports/macports-ports/commit/324d6466fade230a012d4ee181d2222d277f792e</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new 324d6466fad valkey: update to 8.0.0
</span>324d6466fad is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 324d6466fade230a012d4ee181d2222d277f792e
</span>Author: Mohamed Akram <makr@macports.org>
AuthorDate: Wed Sep 18 18:13:51 2024 +0400
<span style='display:block; white-space:pre;color:#404040;'> valkey: update to 8.0.0
</span>---
databases/valkey/Portfile | 11 ++-
databases/valkey/files/patch-fix-older-macOS.diff | 81 -----------------------
2 files changed, 5 insertions(+), 87 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/databases/valkey/Portfile b/databases/valkey/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 61943162a90..a6184ff7776 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/databases/valkey/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/databases/valkey/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -10,7 +10,7 @@ PortGroup makefile 1.0
</span> # clock_gettime
legacysupport.newest_darwin_requires_legacy 15
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup valkey-io valkey 7.2.6
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup valkey-io valkey 8.0.0
</span> github.tarball_from archive
revision 0
categories databases
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -25,15 +25,14 @@ long_description Valkey is an open source (BSD) high-performance key/value \
</span>
homepage https://valkey.io
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 d958e642994315e003ca349f863beb38949d1dbe \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 5272f244deecd5655d805aabc71c84a7c7699bc4fa009dd7fc550806a042d512 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 3427423
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 679a69e31bf83efda2de64abe00db5195fd06a05 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 f87fef2ba81ae4bce891b874fba58cfde2d19370a3bcac20f0e17498b33c33c0 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 3624237
</span>
patchfiles patch-valkey.conf.diff \
patch-hiredis.diff \
patch-gh-12585.diff \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-remove-brewism.diff \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-fix-older-macOS.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-remove-brewism.diff
</span>
post-patch {
reinplace "s|@PREFIX@|${prefix}|g" \
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/databases/valkey/files/patch-fix-older-macOS.diff b/databases/valkey/files/patch-fix-older-macOS.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index b050e74d203..00000000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/databases/valkey/files/patch-fix-older-macOS.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,81 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-https://github.com/valkey-io/valkey/pull/436
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git src/config.h src/config.h
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index 2468110f8..4646f653e 100644
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- src/config.h
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ src/config.h
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -42,7 +42,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #include <fcntl.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #endif
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--#if defined(__APPLE__) && defined(__MAC_OS_X_VERSION_MAX_ALLOWED) && __MAC_OS_X_VERSION_MAX_ALLOWED >= 1060
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#if defined(__APPLE__) && defined(MAC_OS_X_VERSION_MAX_ALLOWED) && MAC_OS_X_VERSION_MAX_ALLOWED >= 1060
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #define MAC_OS_10_6_DETECTED
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #endif
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -217,12 +217,13 @@ void setproctitle(const char *fmt, ...);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #if defined(sel) || defined(pyr) || defined(mc68000) || defined(sparc) || \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- defined(is68k) || defined(tahoe) || defined(ibm032) || defined(ibm370) || \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- defined(MIPSEB) || defined(_MIPSEB) || defined(_IBMR2) || defined(DGUX) ||\
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ defined(MIPSEB) || defined(_MIPSEB) || defined(_IBMR2) || defined(DGUX) || \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- defined(apollo) || defined(__convex__) || defined(_CRAY) || \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- defined(__hppa) || defined(__hp9000) || \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- defined(__hp9000s300) || defined(__hp9000s700) || \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- defined (BIT_ZERO_ON_LEFT) || defined(m68k) || defined(__sparc)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--#define BYTE_ORDER BIG_ENDIAN
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ defined (BIT_ZERO_ON_LEFT) || defined(m68k) || defined(__sparc) || \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ (defined(__APPLE__) && defined(__POWERPC__))
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#define BYTE_ORDER BIG_ENDIAN
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #endif
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #endif /* linux */
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #endif /* BSD */
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -304,7 +305,7 @@ void setproctitle(const char *fmt, ...);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #include <kernel/OS.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #define valkey_set_thread_title(name) rename_thread(find_thread(0), name)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #else
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--#if (defined __APPLE__ && defined(__MAC_OS_X_VERSION_MAX_ALLOWED) && __MAC_OS_X_VERSION_MAX_ALLOWED >= 1070)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+#if (defined __APPLE__ && defined(MAC_OS_X_VERSION_MAX_ALLOWED) && MAC_OS_X_VERSION_MAX_ALLOWED >= 1070)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- int pthread_setname_np(const char *name);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #include <pthread.h>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #define valkey_set_thread_title(name) pthread_setname_np(name)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git src/debug.c src/debug.c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index 33d145b28..5fa9a70d5 100644
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- src/debug.c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ src/debug.c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1192,6 +1192,7 @@ static void* getAndSetMcontextEip(ucontext_t *uc, void *eip) {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #elif defined(__i386__)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- GET_SET_RETURN(uc->uc_mcontext->__ss.__eip, eip);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #else
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ /* OSX PowerPC */
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- GET_SET_RETURN(uc->uc_mcontext->__ss.__srr0, eip);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #endif
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #elif defined(__APPLE__) && defined(MAC_OS_10_6_DETECTED)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1200,6 +1201,8 @@ static void* getAndSetMcontextEip(ucontext_t *uc, void *eip) {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- GET_SET_RETURN(uc->uc_mcontext->__ss.__rip, eip);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #elif defined(__i386__)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- GET_SET_RETURN(uc->uc_mcontext->__ss.__eip, eip);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ #elif defined(__ppc__)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ GET_SET_RETURN(uc->uc_mcontext->__ss.__srr0, eip);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #else
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- /* OSX ARM64 */
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- void *old_val = (void*)arm_thread_state64_get_pc(uc->uc_mcontext->__ss);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1344,7 +1347,7 @@ void logRegisters(ucontext_t *uc) {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- (unsigned long) uc->uc_mcontext->__ss.__gs
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- );
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- logStackContent((void**)uc->uc_mcontext->__ss.__esp);
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- #else
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ #elif defined(__arm64__)
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- /* OSX ARM64 */
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- serverLog(LL_WARNING,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- "\n"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1393,6 +1396,9 @@ void logRegisters(ucontext_t *uc) {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- (unsigned long) uc->uc_mcontext->__ss.__cpsr
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- );
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- logStackContent((void**) arm_thread_state64_get_sp(uc->uc_mcontext->__ss));
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ #else
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ /* At the moment we do not implement this for PowerPC */
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ NOT_SUPPORTED();
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #endif
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- /* Linux */
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #elif defined(__linux__)
</span></pre><pre style='margin:0'>
</pre>