From 0c48bd2b0ec86beb55e1cf05c9429cf48ef79363 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 16 Jul 2026 09:53:17 +0200 Subject: fix build with PHP 8.6.0alpha2 using patch sent upsttream --- php-pecl-event.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'php-pecl-event.spec') diff --git a/php-pecl-event.spec b/php-pecl-event.spec index c182ff5..b3f8b66 100644 --- a/php-pecl-event.spec +++ b/php-pecl-event.spec @@ -43,11 +43,13 @@ Name: %{?scl_prefix}php-pecl-%{pecl_name} Summary: Provides interface to libevent library License: PHP-3.01 Version: %{upstream_version}%{?upstream_prever:~%{upstream_prever}}%{?upstream_postver:+%{upstream_postver}} -Release: 4%{?dist} +Release: 5%{?dist} %forgemeta URL: %{forgeurl} Source0: %{forgesource} +Patch0: 0001-Fix-build-with-PHP-8.6.0alpha2.patch + BuildRequires: make BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel @@ -93,6 +95,8 @@ Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSIO %setup -q -c cd %{sources} +%patch -P0 -p1 + # Sanity check, really often broken DIR=$(%{__php} -r 'echo "php" . PHP_MAJOR_VERSION;') #sed -e '/PHP_EVENT_VERSION/s/2.4.2/2.4.3/' -i $DIR/php_event.h @@ -219,6 +223,9 @@ REPORT_EXIT_STATUS=1 \ %changelog +* Thu Jul 16 2026 Remi Collet - 3.1.5-5 +- fix build with PHP 8.6.0alpha2 using patch sent upsttream + * Fri Mar 13 2026 Remi Collet - 3.1.5-4 - drop pear/pecl dependency - sources from bitbucket -- cgit