summaryrefslogtreecommitdiff
path: root/lang/php83/files/patch-TSRM_TSRM.c
diff options
context:
space:
mode:
Diffstat (limited to 'lang/php83/files/patch-TSRM_TSRM.c')
-rw-r--r--lang/php83/files/patch-TSRM_TSRM.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/php83/files/patch-TSRM_TSRM.c b/lang/php83/files/patch-TSRM_TSRM.c
new file mode 100644
index 000000000000..86cd732dd5f1
--- /dev/null
+++ b/lang/php83/files/patch-TSRM_TSRM.c
@@ -0,0 +1,11 @@
+--- TSRM/TSRM.c.orig 2023-06-06 15:54:29 UTC
++++ TSRM/TSRM.c
+@@ -769,7 +769,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__