diff --git a/php-8.1.0-phpinfo.patch b/php-8.1.0-phpinfo.patch index d19b2f4bab5e3bcca51fc9c3354decf8d7f2228b..a02a2b8a9b79bbdb35fffcf0e96571798ffdec3f 100644 --- a/php-8.1.0-phpinfo.patch +++ b/php-8.1.0-phpinfo.patch @@ -25,7 +25,7 @@ diff -up ./ext/standard/tests/general_functions/phpinfo.phpt.phpinfo ./ext/stand @@ -17,7 +17,6 @@ PHP Version => %s System => %s - Build Date => %s%a + Build Date => %r(.+?)%r -Configure Command => %s Server API => Command Line Interface Virtual Directory Support => %s diff --git a/php-8.1.0-systzdata-v22.patch b/php-8.1.0-systzdata-v22.patch index d1c8d9096db5d5d9e3011e716ecb506c6ab24eda..b0e07d15cc55089ab29867fe9f4c6ee890f4ba82 100644 --- a/php-8.1.0-systzdata-v22.patch +++ b/php-8.1.0-systzdata-v22.patch @@ -54,9 +54,9 @@ index 18b8106bd2..3d1f63c758 100644 + fi +fi + - PHP_DATE_CFLAGS="-Wno-implicit-fallthrough -I@ext_builddir@/lib -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -DHAVE_TIMELIB_CONFIG_H=1" - timelib_sources="lib/astro.c lib/dow.c lib/parse_date.c lib/parse_tz.c lib/parse_posix.c - lib/timelib.c lib/tm2unixtime.c lib/unixtime2tm.c lib/parse_iso_intervals.c lib/interval.c" + AX_CHECK_COMPILE_FLAG([-Wno-implicit-fallthrough], + [PHP_DATE_CFLAGS="$PHP_DATE_CFLAGS -Wno-implicit-fallthrough"],, + [-Werror]) diff --git a/ext/date/lib/parse_tz.c b/ext/date/lib/parse_tz.c index e41315efdb..4b6547c0a3 100644 --- a/ext/date/lib/parse_tz.c diff --git a/php-8.2.20.tar.xz b/php-8.2.26.tar.xz similarity index 59% rename from php-8.2.20.tar.xz rename to php-8.2.26.tar.xz index b85aabe6f483b7a0b85007e6ce8ac17dc73ac879..3b48854876f659ec90c0d0171904bbfd190adc10 100644 Binary files a/php-8.2.20.tar.xz and b/php-8.2.26.tar.xz differ diff --git a/php.spec b/php.spec index 63edeff7858617673ecfbbe72738c1799994d844..f9cdd012bc8c471caddf14a651d38bc793a6497d 100644 --- a/php.spec +++ b/php.spec @@ -42,7 +42,7 @@ Summary: PHP scripting language for creating dynamic web sites Name: php -Version: 8.2.20 +Version: 8.2.26 Release: %{anolis_release}%{?dist} # All files licensed under PHP version 3.01, except # Zend is licensed under Zend @@ -1511,6 +1511,12 @@ systemctl try-restart php-fpm.service >/dev/null 2>&1 || : %changelog +* Tue Dec 17 2024 yangxinyu - 8.2.26-1 +- Update to version 8.2.26 + +* Thu Nov 21 2024 yangxinyu - 8.2.24-1 +- Update to version 8.2.24 + * Mon Jul 29 2024 Tingyin Duan - 8.2.20-1 - Update to version 8.2.20