<pre style='margin:0'>
Ryan Carsten Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/07f04a0e9d0864a761ed237d7e90615bdc45399b">https://github.com/macports/macports-ports/commit/07f04a0e9d0864a761ed237d7e90615bdc45399b</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 07f04a0e9d0864a761ed237d7e90615bdc45399b
</span>Author: Ryan Carsten Schmidt <ryandesign@macports.org>
AuthorDate: Sun Jul 21 19:45:02 2024 -0500
<span style='display:block; white-space:pre;color:#404040;'> php82: Update to 8.2.21
</span>---
lang/php/Portfile | 85 +++++++++++-----------
...php82-Wincompatible-function-pointer-types.diff | 75 -------------------
2 files changed, 44 insertions(+), 116 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/php/Portfile b/lang/php/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index a8c7a95e969..ac025c84476 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/php/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/php/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -178,11 +178,11 @@ switch ${subport_branch} {
</span> }
8.2 {
epoch 2
<span style='display:block; white-space:pre;background:#ffe0e0;'>- version 8.2.20
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ version 8.2.21
</span> use_xz yes
<span style='display:block; white-space:pre;background:#ffe0e0;'>- checksums rmd160 d27c88e6aebcc684847dc7d7e707cf805d79dcad \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 4474cc430febef6de7be958f2c37253e5524d5c5331a7e1765cd2d2234881e50 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 12097568
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ checksums rmd160 c1f0867a6e3f3a3d2636ef10d4196ec0833f8ff2 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 8cc44d51bb2506399ec176f70fe110f0c9e1f7d852a5303a2cd1403402199707 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 12106792
</span> }
8.3 {
epoch 2
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -267,9 +267,12 @@ if {[is_sapi_subport]} {
</span> patch.pre_args-replace -p0 -p1
patchfiles-append patch-${php}-scripts-php-config.in.diff
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[vercmp ${branch} >= 8.3]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patch-${php}-Wincompatible-function-pointer-types.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> if {[vercmp ${branch} >= 8.2]} {
patchfiles-append \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- patch-${php}-Wincompatible-function-pointer-types.diff \
</span> patch-${php}-atomic.diff
} else {
patchfiles-append \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -469,7 +472,7 @@ subport ${php} {
</span> 7.4.33 {revision 1}
8.0.30 {revision 0}
8.1.29 {revision 0}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- 8.2.20 {revision 0}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.2.21 {revision 0}
</span> 8.3.8 {revision 0}
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -630,7 +633,7 @@ subport ${php}-apache2handler {
</span> 7.4.33 {revision 0}
8.0.30 {revision 0}
8.1.29 {revision 0}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- 8.2.20 {revision 0}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.2.21 {revision 0}
</span> 8.3.8 {revision 0}
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -694,7 +697,7 @@ subport ${php}-cgi {
</span> 7.4.33 {revision 0}
8.0.30 {revision 0}
8.1.29 {revision 0}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- 8.2.20 {revision 0}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.2.21 {revision 0}
</span> 8.3.8 {revision 0}
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -738,7 +741,7 @@ subport ${php}-fpm {
</span> 7.4.33 {revision 0}
8.0.30 {revision 0}
8.1.29 {revision 0}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- 8.2.20 {revision 0}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.2.21 {revision 0}
</span> 8.3.8 {revision 0}
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -811,7 +814,7 @@ subport ${php}-calendar {
</span> 7.4.33 {revision 0}
8.0.30 {revision 0}
8.1.29 {revision 0}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- 8.2.20 {revision 0}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.2.21 {revision 0}
</span> 8.3.8 {revision 0}
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -835,7 +838,7 @@ subport ${php}-curl {
</span> 7.4.33 {revision 0}
8.0.30 {revision 0}
8.1.29 {revision 0}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- 8.2.20 {revision 0}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.2.21 {revision 0}
</span> 8.3.8 {revision 0}
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -875,7 +878,7 @@ subport ${php}-dba {
</span> 7.4.33 {revision 0}
8.0.30 {revision 0}
8.1.29 {revision 0}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- 8.2.20 {revision 0}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.2.21 {revision 0}
</span> 8.3.8 {revision 0}
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -911,7 +914,7 @@ subport ${php}-enchant {
</span> 7.4.33 {revision 0}
8.0.30 {revision 0}
8.1.29 {revision 0}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- 8.2.20 {revision 0}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.2.21 {revision 0}
</span> 8.3.8 {revision 0}
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -964,7 +967,7 @@ subport ${php}-exif {
</span> 7.4.33 {revision 0}
8.0.30 {revision 0}
8.1.29 {revision 0}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- 8.2.20 {revision 0}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.2.21 {revision 0}
</span> 8.3.8 {revision 0}
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -981,7 +984,7 @@ subport ${php}-ffi {
</span> 7.4.33 {revision 0}
8.0.30 {revision 0}
8.1.29 {revision 0}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- 8.2.20 {revision 0}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.2.21 {revision 0}
</span> 8.3.8 {revision 0}
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1013,7 +1016,7 @@ subport ${php}-ftp {
</span> 7.4.33 {revision 0}
8.0.30 {revision 0}
8.1.29 {revision 0}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- 8.2.20 {revision 0}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.2.21 {revision 0}
</span> 8.3.8 {revision 0}
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1051,7 +1054,7 @@ subport ${php}-gd {
</span> 7.4.33 {revision 0}
8.0.30 {revision 0}
8.1.29 {revision 0}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- 8.2.20 {revision 0}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.2.21 {revision 0}
</span> 8.3.8 {revision 0}
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1125,7 +1128,7 @@ subport ${php}-gettext {
</span> 7.4.33 {revision 0}
8.0.30 {revision 0}
8.1.29 {revision 0}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- 8.2.20 {revision 0}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.2.21 {revision 0}
</span> 8.3.8 {revision 0}
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1155,7 +1158,7 @@ subport ${php}-gmp {
</span> 7.4.33 {revision 0}
8.0.30 {revision 0}
8.1.29 {revision 0}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- 8.2.20 {revision 0}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.2.21 {revision 0}
</span> 8.3.8 {revision 0}
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1190,7 +1193,7 @@ subport ${php}-iconv {
</span> 7.4.33 {revision 0}
8.0.30 {revision 0}
8.1.29 {revision 0}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- 8.2.20 {revision 0}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.2.21 {revision 0}
</span> 8.3.8 {revision 0}
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1220,7 +1223,7 @@ subport ${php}-imap {
</span> 7.4.33 {revision 0}
8.0.30 {revision 0}
8.1.29 {revision 0}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- 8.2.20 {revision 0}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.2.21 {revision 0}
</span> 8.3.8 {revision 0}
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1261,7 +1264,7 @@ subport ${php}-intl {
</span> 7.4.33 {revision 2}
8.0.30 {revision 1}
8.1.29 {revision 0}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- 8.2.20 {revision 0}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.2.21 {revision 0}
</span> 8.3.8 {revision 0}
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1324,7 +1327,7 @@ subport ${php}-ipc {
</span> 7.4.33 {revision 0}
8.0.30 {revision 0}
8.1.29 {revision 0}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- 8.2.20 {revision 0}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.2.21 {revision 0}
</span> 8.3.8 {revision 0}
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1350,7 +1353,7 @@ subport ${php}-ldap {
</span> 7.4.33 {revision 0}
8.0.30 {revision 0}
8.1.29 {revision 0}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- 8.2.20 {revision 0}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.2.21 {revision 0}
</span> 8.3.8 {revision 0}
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1390,7 +1393,7 @@ subport ${php}-mbstring {
</span> 7.4.33 {revision 0}
8.0.30 {revision 0}
8.1.29 {revision 0}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- 8.2.20 {revision 0}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.2.21 {revision 0}
</span> 8.3.8 {revision 0}
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1481,7 +1484,7 @@ subport ${php}-mysql {
</span> 7.4.33 {revision 0}
8.0.30 {revision 0}
8.1.29 {revision 0}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- 8.2.20 {revision 0}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.2.21 {revision 0}
</span> 8.3.8 {revision 0}
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1713,7 +1716,7 @@ subport ${php}-odbc {
</span> 7.4.33 {revision 0}
8.0.30 {revision 0}
8.1.29 {revision 0}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- 8.2.20 {revision 0}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.2.21 {revision 0}
</span> 8.3.8 {revision 0}
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1777,7 +1780,7 @@ if {[vercmp ${branch} >= 5.5]} {
</span> 7.4.33 {revision 0}
8.0.30 {revision 0}
8.1.29 {revision 0}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- 8.2.20 {revision 0}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.2.21 {revision 0}
</span> 8.3.8 {revision 0}
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1837,7 +1840,7 @@ subport ${php}-openssl {
</span> 7.4.33 {revision 0}
8.0.30 {revision 0}
8.1.29 {revision 0}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- 8.2.20 {revision 0}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.2.21 {revision 0}
</span> 8.3.8 {revision 0}
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1894,7 +1897,7 @@ subport ${php}-oracle {
</span> 7.4.33 {revision 0}
8.0.30 {revision 0}
8.1.29 {revision 0}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- 8.2.20 {revision 0}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.2.21 {revision 0}
</span> 8.3.8 {revision 0}
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1936,7 +1939,7 @@ subport ${php}-pcntl {
</span> 7.4.33 {revision 0}
8.0.30 {revision 0}
8.1.29 {revision 0}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- 8.2.20 {revision 0}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.2.21 {revision 0}
</span> 8.3.8 {revision 0}
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1969,7 +1972,7 @@ subport ${php}-posix {
</span> 7.4.33 {revision 0}
8.0.30 {revision 0}
8.1.29 {revision 0}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- 8.2.20 {revision 0}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.2.21 {revision 0}
</span> 8.3.8 {revision 0}
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1996,7 +1999,7 @@ subport ${php}-postgresql {
</span> 7.4.33 {revision 0}
8.0.30 {revision 0}
8.1.29 {revision 0}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- 8.2.20 {revision 0}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.2.21 {revision 0}
</span> 8.3.8 {revision 0}
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2142,7 +2145,7 @@ subport ${php}-pspell {
</span> 7.4.33 {revision 0}
8.0.30 {revision 0}
8.1.29 {revision 0}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- 8.2.20 {revision 0}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.2.21 {revision 0}
</span> 8.3.8 {revision 0}
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2172,7 +2175,7 @@ subport ${php}-snmp {
</span> 7.4.33 {revision 0}
8.0.30 {revision 0}
8.1.29 {revision 0}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- 8.2.20 {revision 0}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.2.21 {revision 0}
</span> 8.3.8 {revision 0}
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2202,7 +2205,7 @@ subport ${php}-soap {
</span> 7.4.33 {revision 0}
8.0.30 {revision 0}
8.1.29 {revision 0}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- 8.2.20 {revision 0}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.2.21 {revision 0}
</span> 8.3.8 {revision 0}
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2240,7 +2243,7 @@ subport ${php}-sockets {
</span> 7.4.33 {revision 0}
8.0.30 {revision 0}
8.1.29 {revision 0}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- 8.2.20 {revision 0}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.2.21 {revision 0}
</span> 8.3.8 {revision 0}
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2260,7 +2263,7 @@ subport ${php}-sodium {
</span> 7.4.33 {revision 1}
8.0.30 {revision 1}
8.1.29 {revision 0}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- 8.2.20 {revision 0}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.2.21 {revision 0}
</span> 8.3.8 {revision 0}
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2299,7 +2302,7 @@ subport ${php}-sqlite {
</span> 7.4.33 {revision 0}
8.0.30 {revision 0}
8.1.29 {revision 0}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- 8.2.20 {revision 0}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.2.21 {revision 0}
</span> 8.3.8 {revision 0}
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2351,7 +2354,7 @@ subport ${php}-tidy {
</span> 7.4.33 {revision 0}
8.0.30 {revision 0}
8.1.29 {revision 0}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- 8.2.20 {revision 0}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.2.21 {revision 0}
</span> 8.3.8 {revision 0}
}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2456,7 +2459,7 @@ subport ${php}-xsl {
</span> 7.4.33 {revision 0}
8.0.30 {revision 0}
8.1.29 {revision 0}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- 8.2.20 {revision 0}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 8.2.21 {revision 0}
</span> 8.3.8 {revision 0}
}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/php/files/patch-php82-Wincompatible-function-pointer-types.diff b/lang/php/files/patch-php82-Wincompatible-function-pointer-types.diff
</span>deleted file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 9ebc3394e87..00000000000
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/php/files/patch-php82-Wincompatible-function-pointer-types.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,75 +0,0 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-Fix:
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-error: incompatible function pointer types initializing 'struct tm *(*)(void)' with an expression of type 'struct tm *(const time_t *restrict, struct tm *restrict)' (aka 'struct tm *(const long *restrict, struct tm *restrict)') [-Werror,-Wincompatible-function-pointer-types]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-error: incompatible function pointer types initializing 'struct tm *(*)(void)' with an expression of type 'struct tm *(const time_t *restrict, struct tm *restrict)' (aka 'struct tm *(const long *restrict, struct tm *restrict)') [-Werror,-Wincompatible-function-pointer-types]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-error: incompatible function pointer types initializing 'char *(*)(void)' with an expression of type 'char *(const struct tm *restrict, char *restrict)' [-Werror,-Wincompatible-function-pointer-types]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-error: incompatible function pointer types initializing 'char *(*)(void)' with an expression of type 'char *(const time_t *, char *)' (aka 'char *(const long *, char *)') [-Werror,-Wincompatible-function-pointer-types]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-error: incompatible function pointer types initializing 'char *(*)(void)' with an expression of type 'char *(char *, const char *, char **)' [-Werror,-Wincompatible-function-pointer-types]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-https://github.com/php/php-src/issues/14315
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-https://github.com/php/php-src/commit/9e226b288106aea3bfb71bae707a3e2d4889e82d
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-error: incompatible function pointer types initializing 'int (*)(void)' with an expression of type 'int (FILE *)' (aka 'int (struct __sFILE *)') [-Werror,-Wincompatible-function-pointer-types]
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-https://github.com/php/php-src/issues/14549
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-https://github.com/php/php-src/commit/b43378d830872acc6c8515e2815c9f98c7787e62
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- a/build/php.m4 2024-06-04 09:53:17.000000000 -0500
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ b/build/php.m4 2024-06-13 04:35:51.000000000 -0500
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1260,33 +1260,21 @@ dnl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- dnl PHP_MISSING_TIME_R_DECL
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- dnl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- AC_DEFUN([PHP_MISSING_TIME_R_DECL],[
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- AC_MSG_CHECKING([for missing declarations of reentrant functions])
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <time.h>]], [[struct tm *(*func)(void) = localtime_r]])],[
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- :
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- ],[
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- AC_DEFINE(MISSING_LOCALTIME_R_DECL,1,[Whether localtime_r is declared])
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- ])
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <time.h>]], [[struct tm *(*func)(void) = gmtime_r]])],[
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- :
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- ],[
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- AC_DEFINE(MISSING_GMTIME_R_DECL,1,[Whether gmtime_r is declared])
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- ])
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <time.h>]], [[char *(*func)(void) = asctime_r]])],[
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- :
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- ],[
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- AC_DEFINE(MISSING_ASCTIME_R_DECL,1,[Whether asctime_r is declared])
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- ])
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <time.h>]], [[char *(*func)(void) = ctime_r]])],[
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- :
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- ],[
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- AC_DEFINE(MISSING_CTIME_R_DECL,1,[Whether ctime_r is declared])
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- ])
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <string.h>]], [[char *(*func)(void) = strtok_r]])],[
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- :
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- ],[
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- AC_DEFINE(MISSING_STRTOK_R_DECL,1,[Whether strtok_r is declared])
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- ])
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- AC_MSG_RESULT([done])
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+AC_CHECK_DECL([localtime_r],,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ [AC_DEFINE([MISSING_LOCALTIME_R_DECL], [1], [Whether localtime_r is declared])],
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ [#include <time.h>])
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+AC_CHECK_DECL([gmtime_r],,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ [AC_DEFINE([MISSING_GMTIME_R_DECL], [1], [Whether gmtime_r is declared])],
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ [#include <time.h>])
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+AC_CHECK_DECL([asctime_r],,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ [AC_DEFINE([MISSING_ASCTIME_R_DECL], [1], [Whether asctime_r is declared])],
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ [#include <time.h>])
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+AC_CHECK_DECL([ctime_r],,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ [AC_DEFINE([MISSING_CTIME_R_DECL], [1], [Whether ctime_r is declared])],
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ [#include <time.h>])
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+AC_CHECK_DECL([strtok_r],,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ [AC_DEFINE([MISSING_STRTOK_R_DECL], [1], [Whether strtok_r is declared])],
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ [#include <string.h>])
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ])
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- dnl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1315,7 +1315,7 @@
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- dnl
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- AC_DEFUN([PHP_MISSING_FCLOSE_DECL],[
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- AC_MSG_CHECKING([for fclose declaration])
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-- AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <stdio.h>]], [[int (*func)(void) = fclose]])],[
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#include <stdio.h>]], [[int (*func)(FILE *) = fclose]])],[
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- AC_DEFINE(MISSING_FCLOSE_DECL,0,[ ])
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- AC_MSG_RESULT([ok])
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ],[
</span></pre><pre style='margin:0'>
</pre>