From c140e54d15b73a1cdffe89e509c7235bc55638e4 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 16 Jul 2026 09:05:27 +0200 Subject: upstream patch for PHP 8.6.0alpha2 --- php-ast.spec | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'php-ast.spec') diff --git a/php-ast.spec b/php-ast.spec index 8a657c6..0f2529d 100644 --- a/php-ast.spec +++ b/php-ast.spec @@ -29,11 +29,13 @@ Summary: Abstract Syntax Tree Name: %{?scl_prefix}php-ast License: BSD-3-Clause Version: 1.1.3 -Release: 3%{?dist} +Release: 4%{?dist} %forgemeta URL: %{forgeurl} Source0: %{forgesource} +Patch0: php86.patch + BuildRequires: make BuildRequires: %{?dtsprefix}gcc BuildRequires: %{?scl_prefix}php-devel >= 7.2 @@ -63,6 +65,8 @@ Package built for PHP %(%{__php} -r 'echo PHP_MAJOR_VERSION.".".PHP_MINOR_VERSIO %setup -qc cd %{sources} +%patch -P0 -p1 + # Sanity check, really often broken extver=$(sed -n '/#define PHP_AST_VERSION/{s/.* "//;s/".*$//;p}' php_ast.h) if test "x${extver}" != "x%{version}"; then @@ -172,6 +176,9 @@ TEST_PHP_ARGS="-n -d extension=tokenizer.so -d extension=%{buildroot}%{php_ztsex %changelog +* Thu Jul 16 2026 Remi Collet - 1.1.3-4 +- upstream patch for PHP 8.6.0alpha2 + * Fri Mar 13 2026 Remi Collet - 1.1.3-3 - drop pear/pecl dependency - sources from github -- cgit