php7: adjust patch to unbreak build (fixes #3202)
authorMichael Heimpold <mhei@heimpold.de>
Thu, 22 Sep 2016 17:38:01 +0000 (19:38 +0200)
committerMichael Heimpold <mhei@heimpold.de>
Thu, 22 Sep 2016 17:38:10 +0000 (19:38 +0200)
Signed-off-by: Michael Heimpold <mhei@heimpold.de>
lang/php7/patches/0041-Add-patch-to-remove-build-timestamps-from-generated-.patch

index 7639e567209e8eb850feefd8544ad8a19814c84b..c6ee584bec09cb72b6f59d8e189ab6edfa49d911 100644 (file)
@@ -105,10 +105,10 @@ index b0ea105..4feb8f3 100644
              case 'v':
                  if (php_request_startup() != FAILURE) {
  #if ZEND_DEBUG
--                    php_printf("PHP %s (%s) (built: %s %s) (DEBUG)\nCopyright (c) 1997-2016 The PHP Group\n%s", PHP_VERSION, sapi_module.name, __DATE__, __TIME__, get_zend_version());
+-                    php_printf("PHP %s (%s) (built: %s %s) (DEBUG)\nCopyright (c) 1997-2015 The PHP Group\n%s", PHP_VERSION, sapi_module.name, __DATE__, __TIME__, get_zend_version());
 +                    php_printf("PHP %s (%s) (DEBUG)\nCopyright (c) 1997-2016 The PHP Group\n%s", PHP_VERSION, sapi_module.name, get_zend_version());
  #else
--                    php_printf("PHP %s (%s) (built: %s %s)\nCopyright (c) 1997-2016 The PHP Group\n%s", PHP_VERSION, sapi_module.name, __DATE__, __TIME__, get_zend_version());
+-                    php_printf("PHP %s (%s) (built: %s %s)\nCopyright (c) 1997-2015 The PHP Group\n%s", PHP_VERSION, sapi_module.name, __DATE__, __TIME__, get_zend_version());
 +                    php_printf("PHP %s (%s)\nCopyright (c) 1997-2016 The PHP Group\n%s", PHP_VERSION, sapi_module.name, get_zend_version());
  #endif
  #ifdef PHP_OUTPUT_NEWAPI