summaryrefslogtreecommitdiffstats
path: root/php-5.4.9-phpinfo.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2012-12-11 12:10:04 +0100
committerRemi Collet <fedora@famillecollet.com>2012-12-11 12:10:04 +0100
commit2554bb3e44a296036bfb896a3fab1c9a5daec0fc (patch)
treee48c675908152f95d0ce233ee88f81f336d46493 /php-5.4.9-phpinfo.patch
parenta63b47779c94ed2a4a64558d3b4964c47cb1829a (diff)
Sync with rawhide:
- drop "Configure Command" from phpinfo output - prevent php_config.h changes across (otherwise identical) rebuilds
Diffstat (limited to 'php-5.4.9-phpinfo.patch')
-rw-r--r--php-5.4.9-phpinfo.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/php-5.4.9-phpinfo.patch b/php-5.4.9-phpinfo.patch
new file mode 100644
index 0000000..b52a2f8
--- /dev/null
+++ b/php-5.4.9-phpinfo.patch
@@ -0,0 +1,27 @@
+
+Drop "Configure Command" from phpinfo as it doesn't
+provide any useful information.
+The available extensions are not related to this command.
+
+--- php-5.4.9/ext/standard/info.c.orig 2012-12-11 10:43:02.450578276 +0100
++++ php-5.4.9/ext/standard/info.c 2012-12-11 10:44:12.530820821 +0100
+@@ -704,9 +704,6 @@
+ #ifdef ARCHITECTURE
+ php_info_print_table_row(2, "Architecture", ARCHITECTURE);
+ #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 );
+--- php-5.4.9/ext/standard/tests/general_functions/phpinfo.phpt.orig 2012-12-11 11:07:26.959156091 +0100
++++ php-5.4.9/ext/standard/tests/general_functions/phpinfo.phpt 2012-12-11 11:07:30.899170970 +0100
+@@ -20,7 +20,6 @@
+
+ System => %s
+ Build Date => %s%a
+-Configure Command => %s
+ Server API => Command Line Interface
+ Virtual Directory Support => %s
+ Configuration File (php.ini) Path => %s