fontconfig: fix configuration error in manifest; fix gcc-14 compile problems
[oi-userland.git] / components / web / php / php-8_1 / patches / 02_TSRM_h.patch
blob3eac9ff011459c1e121e590ed49296abd9cd48a0
1 --- php-8.1.4/TSRM/TSRM.h.orig 2022-03-15 21:18:41.000000000 +0000
2 +++ php-8.1.4/TSRM/TSRM.h 2022-03-22 20:07:56.044769647 +0000
3 @@ -147,7 +147,7 @@
4 # define __has_attribute(x) 0
5 #endif
7 -#if !__has_attribute(tls_model) || defined(__FreeBSD__) || defined(__MUSL__) || defined(__HAIKU__)
8 +#if !__has_attribute(tls_model) || defined(__FreeBSD__) || defined(__MUSL__) || defined(__HAIKU__) || defined(__solaris__)
9 # define TSRM_TLS_MODEL_ATTR
10 #elif __PIC__
11 # define TSRM_TLS_MODEL_ATTR __attribute__((tls_model("initial-exec")))