From 174a928320d7662b6d8a0103687ac67dd9dd9825 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 19 Jan 2026 06:40:42 +0100 Subject: update to 1.78.0RC2 --- PHPINFO | 2 +- REFLECTION | 4 ++-- grpc-php85.patch | 12 ------------ php-pecl-grpc.spec | 7 ++++--- 4 files changed, 7 insertions(+), 18 deletions(-) delete mode 100644 grpc-php85.patch diff --git a/PHPINFO b/PHPINFO index 50ed40a..e9ee198 100644 --- a/PHPINFO +++ b/PHPINFO @@ -2,7 +2,7 @@ grpc grpc support => enabled -grpc module version => 1.78.0RC1 +grpc module version => 1.78.0RC2 Directive => Local Value => Master Value grpc.enable_fork_support => 0 => 0 diff --git a/REFLECTION b/REFLECTION index a5882c8..810d45b 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #147 grpc version 1.78.0RC1 ] { +Extension [ extension #147 grpc version 1.78.0RC2 ] { - INI { Entry [ grpc.enable_fork_support ] @@ -57,7 +57,7 @@ Extension [ extension #147 grpc version 1.78.0RC1 ] { 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.78.0RC1 } + Constant [ string Grpc\VERSION ] { 1.78.0RC2 } } - Classes [7] { diff --git a/grpc-php85.patch b/grpc-php85.patch deleted file mode 100644 index a21f9a2..0000000 --- a/grpc-php85.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff -up ./src/php/ext/grpc/call.c.php85 ./src/php/ext/grpc/call.c ---- ./src/php/ext/grpc/call.c.php85 2025-07-17 10:28:12.598376396 +0200 -+++ ./src/php/ext/grpc/call.c 2025-07-17 10:28:45.097057429 +0200 -@@ -84,7 +84,7 @@ zval *grpc_parse_metadata_array(grpc_met - if (php_grpc_zend_hash_find(array_hash, str_key, key_len, (void **)&data) - == SUCCESS) { - if (Z_TYPE_P(data) != IS_ARRAY) { -- zend_throw_exception(zend_exception_get_default(TSRMLS_C), -+ zend_throw_exception(zend_ce_exception, - "Metadata hash somehow contains wrong types.", - 1 TSRMLS_CC); - efree(str_key); diff --git a/php-pecl-grpc.spec b/php-pecl-grpc.spec index 16adb50..916864c 100644 --- a/php-pecl-grpc.spec +++ b/php-pecl-grpc.spec @@ -23,7 +23,7 @@ %global with_zts 0%{!?_without_zts:%{?__ztsphp:1}} %global ini_name 40-%{pecl_name}.ini %global upstream_version 1.78.0 -%global upstream_prever RC1 +%global upstream_prever RC2 %global sources %{pecl_name}-%{upstream_version}%{?upstream_prever} %global _configure ../%{sources}/configure # Disable LTO (erratic crash during build) @@ -40,7 +40,6 @@ Source0: https://pecl.php.net/get/%{sources}.tgz Patch0: %{pecl_name}-build.patch Patch2: %{pecl_name}-workaround.patch Patch3: %{pecl_name}-openssl.patch -Patch4: %{pecl_name}-php85.patch BuildRequires: make BuildRequires: %{?dtsprefix}gcc >= 7.0 @@ -90,7 +89,6 @@ cd %{sources} sed -e '/boringssl-with-bazel/d' -i config.m4 rm -r third_party/boringssl-with-bazel %endif -%patch -P4 -p1 -b .php85 #sed -e '/PHP_GRPC_VERSION/s/RC3/RC2/' -i src/php/ext/grpc/version.h # Sanity check, really often broken @@ -201,6 +199,9 @@ cd ../ZTS %changelog +* Mon Jan 19 2026 Remi Collet - 1.78.0~RC2-1 +- update to 1.78.0RC2 + * Tue Jan 6 2026 Remi Collet - 1.78.0~RC1-1 - update to 1.78.0RC1 -- cgit