summaryrefslogtreecommitdiff
path: root/lang/php85/files/patch-TSRM_TSRM.c
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2025-07-02 11:54:37 +0200
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2025-07-02 18:29:38 +0200
commitc0b9892033cb566ec6a0c6d0fe5ce4b97c4c88de (patch)
treed492c87afa7175e6c8eee0669fcb4df1aa223c27 /lang/php85/files/patch-TSRM_TSRM.c
parentsecurity/kanidm: Update version 1.6.1=>1.6.2 (diff)
*/*php85*: 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.5.0alpha1/UPGRADING Changelog: https://github.com/php/php-src/blob/php-8.5.0alpha1/NEWS
Diffstat (limited to 'lang/php85/files/patch-TSRM_TSRM.c')
-rw-r--r--lang/php85/files/patch-TSRM_TSRM.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/php85/files/patch-TSRM_TSRM.c b/lang/php85/files/patch-TSRM_TSRM.c
new file mode 100644
index 000000000000..a5ad9dca4e8a
--- /dev/null
+++ b/lang/php85/files/patch-TSRM_TSRM.c
@@ -0,0 +1,11 @@
+--- 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__