summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--grpc-noatfork.patch10
-rw-r--r--php-pecl-grpc.spec5
2 files changed, 9 insertions, 6 deletions
diff --git a/grpc-noatfork.patch b/grpc-noatfork.patch
index fcf7af8..c3ca4ef 100644
--- a/grpc-noatfork.patch
+++ b/grpc-noatfork.patch
@@ -1,12 +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-18 16:03:38.791414805 +0000
-@@ -724,7 +724,7 @@ if test "$PHP_GRPC" != "no"; then
+--- a/NTS/config.m4 2020-02-11 10:37:11.093473672 +0000
++++ b/NTS/config.m4 2020-02-11 10:38:28.551693692 +0000
+@@ -763,7 +763,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)
+ )
- PHP_ADD_BUILD_DIR($ext_builddir/src/php/ext/grpc)
-
+ PHP_ADD_BUILD_DIR($ext_builddir/src/boringssl)
+ PHP_ADD_BUILD_DIR($ext_builddir/src/core/ext/filters/census)
diff --git a/php-pecl-grpc.spec b/php-pecl-grpc.spec
index 6176c64..4206cf9 100644
--- a/php-pecl-grpc.spec
+++ b/php-pecl-grpc.spec
@@ -30,7 +30,7 @@
Summary: General RPC framework
Name: %{?sub_prefix}php-pecl-%{pecl_name}
Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}}
-Release: 1%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
+Release: 2%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}}
License: ASL 2.0
URL: https://pecl.php.net/package/%{pecl_name}
Source0: https://pecl.php.net/get/%{pecl_name}-%{upstream_version}%{?upstream_prever}.tgz
@@ -230,6 +230,9 @@ cd ../ZTS
%changelog
+* Tue Feb 11 2020 Pablo Greco <pgreco@centosproject.org> - 1.27.0-2
+- Update armhfp patch
+
* Thu Feb 6 2020 Remi Collet <remi@remirepo.net> - 1.27.0-1
- Update to 1.27.0