summaryrefslogtreecommitdiffstats
path: root/php-pecl-event.spec
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2026-07-16 09:53:17 +0200
committerRemi Collet <remi@php.net>2026-07-16 09:53:17 +0200
commit0c48bd2b0ec86beb55e1cf05c9429cf48ef79363 (patch)
tree4438e7d7a19db1b69a74a7fa171a61c4d2d55962 /php-pecl-event.spec
parent8ed93bde9a4770dc5b068ac1cd286b5c83d906e5 (diff)
fix build with PHP 8.6.0alpha2 using patch sent upsttream
Diffstat (limited to 'php-pecl-event.spec')
-rw-r--r--php-pecl-event.spec9
1 files changed, 8 insertions, 1 deletions
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 <remi@remirepo.net> - 3.1.5-5
+- fix build with PHP 8.6.0alpha2 using patch sent upsttream
+
* Fri Mar 13 2026 Remi Collet <remi@remirepo.net> - 3.1.5-4
- drop pear/pecl dependency
- sources from bitbucket