From d3cf015cce588b75a159a9ef5fb42f97ce0463a4 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 28 Mar 2022 09:48:38 +0200 Subject: update to 1.45.0 --- PHPINFO | 2 +- REFLECTION | 4 ++-- grpc-build.patch | 6 +++--- grpc-noatfork.patch | 2 +- php-pecl-grpc.spec | 5 ++++- 5 files changed, 11 insertions(+), 8 deletions(-) diff --git a/PHPINFO b/PHPINFO index 2609166..cac05a0 100644 --- a/PHPINFO +++ b/PHPINFO @@ -2,7 +2,7 @@ grpc grpc support => enabled -grpc module version => 1.44.0 +grpc module version => 1.45.0 Directive => Local Value => Master Value grpc.enable_fork_support => 0 => 0 diff --git a/REFLECTION b/REFLECTION index 505cf64..fab6df0 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #120 grpc version 1.44.0 ] { +Extension [ extension #120 grpc version 1.45.0 ] { - INI { Entry [ grpc.enable_fork_support ] @@ -60,7 +60,7 @@ Extension [ extension #120 grpc version 1.44.0 ] { Constant [ int Grpc\CHANNEL_READY ] { 2 } Constant [ int Grpc\CHANNEL_TRANSIENT_FAILURE ] { 3 } Constant [ int Grpc\CHANNEL_FATAL_FAILURE ] { 4 } - Constant [ string Grpc\VERSION ] { 1.44.0 } + Constant [ string Grpc\VERSION ] { 1.45.0 } } - Classes [7] { diff --git a/grpc-build.patch b/grpc-build.patch index c8dd153..4d15462 100644 --- a/grpc-build.patch +++ b/grpc-build.patch @@ -1,11 +1,11 @@ diff -up ./config.m4.rpm ./config.m4 ---- ./config.m4.rpm 2018-04-09 09:53:39.927037294 +0200 -+++ ./config.m4 2018-04-09 09:54:28.015307629 +0200 +--- ./config.m4.rpm 2022-03-28 08:02:01.063993366 +0200 ++++ ./config.m4 2022-03-28 08:04:44.843398916 +0200 @@ -18,8 +18,8 @@ if test "$PHP_GRPC" != "no"; then LIBS="-lpthread $LIBS" -- CFLAGS="-Wall -Werror -Wno-parentheses-equality -Wno-unused-value -std=c11 -g -O2" +- CFLAGS="-std=c11 -g -O2" - CXXFLAGS="-std=c++11 -fno-exceptions -fno-rtti -g -O2" + CFLAGS="$CFLAGS -std=c11" + CXXFLAGS="$CXXFLAGS -std=c++11 -fno-exceptions -fno-rtti" diff --git a/grpc-noatfork.patch b/grpc-noatfork.patch index 9223f07..1bb5a7b 100644 --- a/grpc-noatfork.patch +++ b/grpc-noatfork.patch @@ -7,5 +7,5 @@ diff -up ./config.m4.noatfork ./config.m4 -D_HAS_EXCEPTIONS=0 -DNOMINMAX -DGRPC_ARES=0 \ - -DGRPC_POSIX_FORK_ALLOW_PTHREAD_ATFORK=1 \ -DGRPC_XDS_USER_AGENT_NAME_SUFFIX='"\"PHP\""' \ - -DGRPC_XDS_USER_AGENT_VERSION_SUFFIX='"\"1.44.0\""') + -DGRPC_XDS_USER_AGENT_VERSION_SUFFIX='"\"1.45.0\""') diff --git a/php-pecl-grpc.spec b/php-pecl-grpc.spec index bf75b20..73c38d1 100644 --- a/php-pecl-grpc.spec +++ b/php-pecl-grpc.spec @@ -20,7 +20,7 @@ %global pecl_name grpc %global with_zts 0%{!?_without_zts:%{?__ztsphp:1}} %global ini_name 40-%{pecl_name}.ini -%global upstream_version 1.44.0 +%global upstream_version 1.45.0 #global upstream_prever RC2 Summary: General RPC framework @@ -229,6 +229,9 @@ cd ../ZTS %changelog +* Mon Mar 28 2022 Remi Collet - 1.45.0-1 +- update to 1.45.0 + * Thu Feb 24 2022 Remi Collet - 1.44.0-1 - update to 1.44.0 -- cgit