ports/lang/php84/files/patch-TSRM_TSRM.c
Muhammad Moinur Rahman 42db2c39e5
*/*php84*: Sunrise
Please DO NOT use this version in production, it is an early test
version.

For upgrade notes please visit:
https://github.com/php/php-src/blob/php-8.4.0alpha1/UPGRADING

Changelog: https://github.com/php/php-src/blob/php-8.4.0alpha1/NEWS
2024-07-28 15:15:17 +02:00

11 lines
327 B
C

--- TSRM/TSRM.c.orig 2024-07-02 13:43:13 UTC
+++ TSRM/TSRM.c
@@ -792,7 +792,7 @@ TSRM_API size_t tsrm_get_ls_cache_tcb_offset(void)
asm ("leal _tsrm_ls_cache@ntpoff,%0"
: "=r" (ret));
return ret;
-#elif defined(__aarch64__)
+#elif defined(__aarch64__) && !defined(__FreeBSD__)
size_t ret;
# ifdef __APPLE__