From 94c40d3f9e798a29f9250a0dcff2c767c16a5391 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sat, 24 Aug 2019 08:05:27 +0200 Subject: - fix build with GCC 9.1 with upstream patch and patch from https://github.com/grpc/grpc/pull/20067 --- php-pecl-grpc.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'php-pecl-grpc.spec') diff --git a/php-pecl-grpc.spec b/php-pecl-grpc.spec index 85f6af8..3ff3b75 100644 --- a/php-pecl-grpc.spec +++ b/php-pecl-grpc.spec @@ -30,13 +30,14 @@ 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: http://pecl.php.net/package/%{pecl_name} Source0: http://pecl.php.net/get/%{pecl_name}-%{upstream_version}%{?upstream_prever}.tgz Patch0: %{pecl_name}-build.patch Patch1: %{pecl_name}-noatfork.patch +Patch2: %{pecl_name}-gcc91.patch BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?dtsprefix}gcc-c++ @@ -108,6 +109,7 @@ cd NTS %ifarch %{arm} %patch1 -p2 -b .noatfork %endif +%patch2 -p1 -b .gcc91 # Sanity check, really often broken extver=$(sed -n '/PHP_GRPC_VERSION/{s/.* "//;s/".*$//;p}' src/php/ext/grpc/version.h) @@ -231,6 +233,10 @@ cd ../ZTS %changelog +* Sat Aug 24 2019 Remi Collet - 1.23.0-2 +- fix build with GCC 9.1 with upstream patch and patch from + https://github.com/grpc/grpc/pull/20067 + * Sat Aug 17 2019 Remi Collet - 1.23.0-1 - Update to 1.23.0 -- cgit