summaryrefslogtreecommitdiffstats
path: root/php-phalcon5.spec
diff options
context:
space:
mode:
Diffstat (limited to 'php-phalcon5.spec')
-rw-r--r--php-phalcon5.spec9
1 files changed, 9 insertions, 0 deletions
diff --git a/php-phalcon5.spec b/php-phalcon5.spec
index feaacbc..a43d8b2 100644
--- a/php-phalcon5.spec
+++ b/php-phalcon5.spec
@@ -52,6 +52,8 @@ Release: 1%{?dist}
URL: https://phalcon.io/
Source0: %{forgesource}
+Patch0: 0001-Fix-16874-missing-include.patch
+
BuildRequires: %{?dtsprefix}gcc
BuildRequires: %{?scl_prefix}php-devel >= 8.1
BuildRequires: %{?scl_prefix}php-pear
@@ -100,7 +102,12 @@ Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSIO
%prep
%setup -qc
+pushd %{archivename}
+%patch -P0 -p1
+popd
+
pushd %{sources}
+
# Sanity check, really often broken
extver=$(sed -n '/#define PHP_PHALCON_VERSION/{s/.* "//;s/".*$//;p}' php_phalcon.h)
if test "x${extver}" != "x%{upstream_version}%{?upstream_prever:%{upstream_prever}}"; then
@@ -238,6 +245,8 @@ done
- add support for 8.5, drop 8.0
- open https://github.com/phalcon/cphalcon/issues/16874
ext tree is unusable for PHP 8.5
+- open https://github.com/phalcon/cphalcon/pull/16875
+ missing include
* Sat Jan 3 2026 Remi Collet <remi@remirepo.net> - 5.10.0-1
- update to 5.10.0