ASR_BASE
Change-Id: Icf3719cc0afe3eeb3edc7fa80a2eb5199ca9dda1
diff --git a/external/subpack/lang/php7/patches/0050-remove-build-timestamps.patch b/external/subpack/lang/php7/patches/0050-remove-build-timestamps.patch
new file mode 100644
index 0000000..ec7bb36
--- /dev/null
+++ b/external/subpack/lang/php7/patches/0050-remove-build-timestamps.patch
@@ -0,0 +1,28 @@
+--- a/ext/opcache/ZendAccelerator.c
++++ b/ext/opcache/ZendAccelerator.c
+@@ -2670,11 +2670,6 @@ static void accel_gen_system_id(void)
+ PHP_MD5Update(&context, PHP_VERSION, sizeof(PHP_VERSION)-1);
+ PHP_MD5Update(&context, ZEND_EXTENSION_BUILD_ID, sizeof(ZEND_EXTENSION_BUILD_ID)-1);
+ PHP_MD5Update(&context, ZEND_BIN_ID, sizeof(ZEND_BIN_ID)-1);
+- if (strstr(PHP_VERSION, "-dev") != 0) {
+- /* Development versions may be changed from build to build */
+- PHP_MD5Update(&context, __DATE__, sizeof(__DATE__)-1);
+- PHP_MD5Update(&context, __TIME__, sizeof(__TIME__)-1);
+- }
+ /* Modules may have changed after restart which can cause dangling pointers from
+ * custom opcode handlers in the second-level cache files
+ */
+--- a/sapi/litespeed/lsapi_main.c
++++ b/sapi/litespeed/lsapi_main.c
+@@ -1288,9 +1288,9 @@ static int cli_main( int argc, char * ar
+ case 'v':
+ if (php_request_startup() != FAILURE) {
+ #if ZEND_DEBUG
+- php_printf("PHP %s (%s) (built: %s %s) (DEBUG)\nCopyright (c) The PHP Group\n%s", PHP_VERSION, sapi_module.name, __DATE__, __TIME__, get_zend_version());
++ php_printf("PHP %s (%s) (DEBUG)\nCopyright (c) The PHP Group\n%s", PHP_VERSION, sapi_module.name, get_zend_version());
+ #else
+- php_printf("PHP %s (%s) (built: %s %s)\nCopyright (c) The PHP Group\n%s", PHP_VERSION, sapi_module.name, __DATE__, __TIME__, get_zend_version());
++ php_printf("PHP %s (%s)\nCopyright (c) The PHP Group\n%s", PHP_VERSION, sapi_module.name, get_zend_version());
+ #endif
+ #ifdef PHP_OUTPUT_NEWAPI
+ php_output_end_all();