summaryrefslogtreecommitdiffstats
path: root/grpc-noatfork.patch
diff options
context:
space:
mode:
Diffstat (limited to 'grpc-noatfork.patch')
-rw-r--r--grpc-noatfork.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/grpc-noatfork.patch b/grpc-noatfork.patch
new file mode 100644
index 0000000..85c932b
--- /dev/null
+++ b/grpc-noatfork.patch
@@ -0,0 +1,12 @@
+diff -Naurp a/NTS/config.m4 b/NTS/config.m4
+--- a/NTS/config.m4 2019-07-05 09:18:10.983115724 +0000
++++ b/NTS/config.m4 2019-07-05 09:19:27.877275179 +0000
+@@ -681,7 +681,7 @@ if test "$PHP_GRPC" != "no"; then
+ , $ext_shared, , -fvisibility=hidden \
+ -DOPENSSL_NO_ASM -D_GNU_SOURCE -DWIN32_LEAN_AND_MEAN \
+ -D_HAS_EXCEPTIONS=0 -DNOMINMAX -DGRPC_ARES=0 \
+- -DGRPC_POSIX_FORK_ALLOW_PTHREAD_ATFORK=1)
++ -DGRPC_POSIX_FORK_ALLOW_PTHREAD_ATFORK=0)
+
+ PHP_ADD_BUILD_DIR($ext_builddir/src/php/ext/grpc)
+