ports/lang/php81/files/patch-TSRM_TSRM.c
Dima Panov c89b6f2799 lang/php8[12]: Fix build on aarch64 with ZTS
- Refresh patches

PR:		266175
Reported by:	thresh@nginx.com
Sponsored by:	Bounce Experts
2023-04-12 07:39:13 +02:00

11 lines
327 B
C

--- TSRM/TSRM.c.orig 2023-04-12 03:52:48 UTC
+++ TSRM/TSRM.c
@@ -750,7 +750,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__