diff options
Diffstat (limited to '396.patch')
-rw-r--r-- | 396.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/396.patch b/396.patch new file mode 100644 index 0000000..b4b4ab6 --- /dev/null +++ b/396.patch @@ -0,0 +1,22 @@ +From cd4d854606a17b24d7a37fb46f5b7eb559062ad8 Mon Sep 17 00:00:00 2001 +From: Remi Collet <remi@remirepo.net> +Date: Tue, 9 Apr 2019 09:25:10 +0200 +Subject: [PATCH] fix #395 build with -std=c99 option + +--- + config.m4 | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/config.m4 b/config.m4 +index 042812e7..62ee41e7 100644 +--- a/config.m4 ++++ b/config.m4 +@@ -10,7 +10,7 @@ if test "$PHP_DDTRACE" != "no"; then + PHP_SUBST(EXTRA_CFLAGS) + fi + +- PHP_NEW_EXTENSION(ddtrace, src/ext/ddtrace.c src/ext/dispatch_setup.c src/ext/dispatch.c src/ext/request_hooks.c src/ext/compat_zend_string.c src/ext/dispatch_compat_php5.c src/ext/dispatch_compat_php7.c src/ext/backtrace.c src/ext/logging.c src/ext/env_config.c src/ext/serializer.c src/ext/mpack/mpack.c, $ext_shared,, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1) ++ PHP_NEW_EXTENSION(ddtrace, src/ext/ddtrace.c src/ext/dispatch_setup.c src/ext/dispatch.c src/ext/request_hooks.c src/ext/compat_zend_string.c src/ext/dispatch_compat_php5.c src/ext/dispatch_compat_php7.c src/ext/backtrace.c src/ext/logging.c src/ext/env_config.c src/ext/serializer.c src/ext/mpack/mpack.c, $ext_shared,, -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Wall -std=c99) + PHP_ADD_BUILD_DIR($ext_builddir/src/ext, 1) + + PHP_ADD_INCLUDE($ext_builddir) |