diff options
author | Remi Collet <remi@remirepo.net> | 2024-09-23 15:31:00 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2024-09-23 15:31:00 +0200 |
commit | 740a14090dec83951484a2705d7ffc7555ebb768 (patch) | |
tree | 7768a1c01872b781aaa4d530dd0cac8fe3bd7e3d /php-8.4.0-phpinfo.patch | |
parent | 16b62b61c0de11f9b89c4805a9b37e9bbc2ec12f (diff) |
update to 8.4.0beta5
drop oci8, pdo_oci8, pspell and imap extensions
disable ZTS build
Diffstat (limited to 'php-8.4.0-phpinfo.patch')
-rw-r--r-- | php-8.4.0-phpinfo.patch | 44 |
1 files changed, 44 insertions, 0 deletions
diff --git a/php-8.4.0-phpinfo.patch b/php-8.4.0-phpinfo.patch new file mode 100644 index 0000000..2536f9e --- /dev/null +++ b/php-8.4.0-phpinfo.patch @@ -0,0 +1,44 @@ + +Drop "Configure Command" from phpinfo as it doesn't +provide any useful information. +The available extensions are not related to this command. + +Replace full GCC name by gcc in php -v output + + +diff -up ./ext/standard/info.c.phpinfo ./ext/standard/info.c +--- ./ext/standard/info.c.phpinfo 2020-07-21 10:49:31.000000000 +0200 ++++ ./ext/standard/info.c 2020-07-21 11:41:56.295633523 +0200 +@@ -805,9 +805,6 @@ PHPAPI ZEND_COLD void php_print_info(int + #ifdef PHP_BUILD_ARCH + php_info_print_table_row(2, "Architecture", PHP_BUILD_ARCH); + #endif +-#ifdef CONFIGURE_COMMAND +- php_info_print_table_row(2, "Configure Command", CONFIGURE_COMMAND ); +-#endif + + if (sapi_module.pretty_name) { + php_info_print_table_row(2, "Server API", sapi_module.pretty_name ); +diff -up ./ext/standard/tests/general_functions/phpinfo.phpt.phpinfo ./ext/standard/tests/general_functions/phpinfo.phpt +--- ./ext/standard/tests/general_functions/phpinfo.phpt.phpinfo 2020-07-21 10:49:31.000000000 +0200 ++++ ./ext/standard/tests/general_functions/phpinfo.phpt 2020-07-21 11:41:56.296633522 +0200 +@@ -17,7 +17,6 @@ PHP Version => %s + + System => %s + Build Date => %s%a +-Configure Command => %s + Server API => Command Line Interface + Virtual Directory Support => %s + Configuration File (php.ini) Path => %s +diff -up ./main/main.c.phpinfo ./main/main.c +--- ./main/main.c.phpinfo 2024-08-13 16:14:03.242363191 +0200 ++++ ./main/main.c 2024-08-13 16:14:06.588499946 +0200 +@@ -119,7 +119,7 @@ PHPAPI char *php_get_version(sapi_module + "NTS" + #endif + #ifdef PHP_BUILD_COMPILER +- " " PHP_BUILD_COMPILER ++ " gcc" + #endif + #ifdef PHP_BUILD_ARCH + " " PHP_BUILD_ARCH |