From 376ec51b68106b5672c8f51c0be64fa634280a88 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 17 Jul 2025 10:15:03 +0200 Subject: fix build with PHP 8.5.0alpha2 using patch from https://github.com/zeromq/php-zmq/pull/240 --- php-pecl-zmq.spec | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'php-pecl-zmq.spec') diff --git a/php-pecl-zmq.spec b/php-pecl-zmq.spec index b109434..c3a6397 100644 --- a/php-pecl-zmq.spec +++ b/php-pecl-zmq.spec @@ -26,7 +26,7 @@ Summary: ZeroMQ messaging Name: %{?scl_prefix}php-pecl-%{pecl_name} Version: 1.1.3 -Release: 19%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} +Release: 20%{?dist}%{!?scl:%{!?nophptag:%(%{__php} -r 'echo ".".PHP_MAJOR_VERSION.".".PHP_MINOR_VERSION;')}} License: BSD-3-Clause URL: https://pecl.php.net/package/%{pecl_name} Source0: https://pecl.php.net/get/%{pecl_name}-%{version}.tgz @@ -35,6 +35,7 @@ Patch0: https://patch-diff.githubusercontent.com/raw/zeromq/php-zmq/pull Patch1: https://patch-diff.githubusercontent.com/raw/zeromq/php-zmq/pull/222.patch Patch2: https://patch-diff.githubusercontent.com/raw/zeromq/php-zmq/pull/228.patch Patch3: https://patch-diff.githubusercontent.com/raw/zeromq/php-zmq/pull/238.patch +Patch4: https://patch-diff.githubusercontent.com/raw/zeromq/php-zmq/pull/240.patch BuildRequires: make BuildRequires: %{?dtsprefix}gcc @@ -76,6 +77,7 @@ cd %{sources} %patch -P1 -p1 -b .pr222 %patch -P2 -p1 -b .pr228 %patch -P3 -p1 -b .pr238 +%patch -P4 -p1 -b .pr240 if pkg-config libzmq --atleast-version=4 then @@ -201,6 +203,10 @@ export TEST_PHP_EXECUTABLE=%{__ztsphp} %changelog +* Thu Jul 17 2025 Remi Collet - 1.1.3-20 +- fix build with PHP 8.5.0alpha2 using patch from + https://github.com/zeromq/php-zmq/pull/240 + * Wed Jan 22 2025 Remi Collet - 1.1.3-19 - fix build with GCC 15 using patch from https://github.com/zeromq/php-zmq/pull/238 -- cgit