ports/lang/php82/files/patch-TSRM_TSRM.c
Muhammad Moinur Rahman e216badd22 lang/php82: Update version 8.2.13=>8.2.14
- php modules while build with system pcre fails to run when using
  apache httpd and mod_php. So OPTIONIZE and add as a non-DEFAULT
  option. However to my knowledge and experience I haven't faced this
  with nginx and php-fpm yet. [1]
- There is another corner case with apache httpd and mod_php when run
  on 13.2-RELEASE or newer specially on versions where ASLR is by default
  turned on. All modules specialy opcache crashes httpd. So add a
  warning message to advise users to move into php-fpm. [2]
- Remove unnecesary patches from devel/php82-readline [3]

Changelog: https://www.php.net/ChangeLog-8.php#8.2.14

PR: 275522 [1], 268318 [2], 275795 [3]
Reported by: majo-bugs.freebsd.org@cerny.sk [1], zarychtam@plan-b.pwste.edu.pl [2], x0r+freebsd@x0r.fr [3]
2023-12-22 02:24:36 +01:00

11 lines
327 B
C

--- TSRM/TSRM.c.orig 2023-12-20 06:28:06 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__