From 4b3907a2ca536149d578d180c7acddbbc74547ae Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 3 Jul 2026 10:54:35 +0200 Subject: update to 1.82.0 --- PHPINFO | 2 +- REFLECTION | 4 ++-- grpc-build.patch | 17 +++++++++-------- php-pecl-grpc.spec | 5 ++++- 4 files changed, 16 insertions(+), 12 deletions(-) diff --git a/PHPINFO b/PHPINFO index 2092760..3c7028e 100644 --- a/PHPINFO +++ b/PHPINFO @@ -2,7 +2,7 @@ grpc grpc support => enabled -grpc module version => 1.81.0 +grpc module version => 1.82.0 Directive => Local Value => Master Value grpc.enable_fork_support => 0 => 0 diff --git a/REFLECTION b/REFLECTION index 4ee5563..5b331e7 100644 --- a/REFLECTION +++ b/REFLECTION @@ -1,4 +1,4 @@ -Extension [ extension #159 grpc version 1.81.0 ] { +Extension [ extension #160 grpc version 1.82.0 ] { - INI { Entry [ grpc.enable_fork_support ] @@ -57,7 +57,7 @@ Extension [ extension #159 grpc version 1.81.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.81.0 } + Constant [ string Grpc\VERSION ] { 1.82.0 } } - Classes [7] { diff --git a/grpc-build.patch b/grpc-build.patch index c332626..507a8e3 100644 --- a/grpc-build.patch +++ b/grpc-build.patch @@ -1,14 +1,15 @@ -diff -up ./config.m4.rpm ./config.m4 ---- ./config.m4.rpm 2022-07-07 07:28:31.928904255 +0200 -+++ ./config.m4 2022-07-07 07:30:39.835689129 +0200 -@@ -19,8 +19,8 @@ if test "$PHP_GRPC" != "no"; then +diff -up grpc-1.82.0/config.m4.rpm grpc-1.82.0/config.m4 +--- grpc-1.82.0/config.m4.rpm 2026-07-02 09:50:45.000000000 +0200 ++++ grpc-1.82.0/config.m4 2026-07-03 08:09:35.143030893 +0200 +@@ -19,9 +19,8 @@ if test "$PHP_GRPC" != "no"; then LIBS="-lpthread $LIBS" -- CFLAGS="-std=c11 -g -O2" -- CXXFLAGS="-std=c++17 -fno-exceptions -fno-rtti -g -O2" -+ CFLAGS="$CFLAGS -std=c11" -+ CXXFLAGS="$CXXFLAGS -std=c++17 -fno-exceptions -fno-rtti" +- dnl -Wno-error=attributes needed by UPB https://github.com/grpc/grpc/issues/42192 +- CFLAGS="-std=c11 -g -O2 -Wno-error=attributes" +- CXXFLAGS="-std=c++17 -fno-exceptions -fno-rtti -g -O2 -Wno-error=attributes" ++ CFLAGS="$CFLAGS -std=c11 -Wno-error=attributes" ++ CXXFLAGS="$CXXFLAGS -std=c++17 -fno-exceptions -fno-rtti -Wno-error=attributes" GRPC_SHARED_LIBADD="-lpthread $GRPC_SHARED_LIBADD" PHP_REQUIRE_CXX() PHP_ADD_LIBRARY(pthread) diff --git a/php-pecl-grpc.spec b/php-pecl-grpc.spec index 4f99598..da22b5f 100644 --- a/php-pecl-grpc.spec +++ b/php-pecl-grpc.spec @@ -22,7 +22,7 @@ %global pecl_name grpc %global with_zts 0%{!?_without_zts:%{?__ztsphp:1}} %global ini_name 40-%{pecl_name}.ini -%global upstream_version 1.81.0 +%global upstream_version 1.82.0 #global upstream_prever RC1 %global sources %{pecl_name}-%{upstream_version}%{?upstream_prever} %global _configure ../%{sources}/configure @@ -199,6 +199,9 @@ cd ../ZTS %changelog +* Fri Jul 3 2026 Remi Collet - 1.82.0-1 +- update to 1.82.0 + * Tue Jun 2 2026 Remi Collet - 1.81.0-1 - update to 1.81.0 -- cgit