From 9d310b6c561181f15375c2fcb74faa7cf46406a9 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 10 Nov 2021 07:32:28 +0100 Subject: [PATCH] fix nikic/php-parser patch --- php-8.1.0-parser.patch | 2 +- php.spec | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/php-8.1.0-parser.patch b/php-8.1.0-parser.patch index f443f1d..8a28e4d 100644 --- a/php-8.1.0-parser.patch +++ b/php-8.1.0-parser.patch @@ -11,6 +11,6 @@ diff -up ./build/gen_stub.php.syslib ./build/gen_stub.php + return; + } + - $version = "4.12.0"; + $version = "4.13.0"; $phpParserDir = __DIR__ . "/PHP-Parser-$version"; if (!is_dir($phpParserDir)) { diff --git a/php.spec b/php.spec index 2f9c1ee..bd6d14b 100644 --- a/php.spec +++ b/php.spec @@ -319,7 +319,7 @@ Requires: zlib-devel%{?_isa} Provides: php-zts-devel = %{version}-%{release} Provides: php-zts-devel%{?_isa} = %{version}-%{release} %endif -Recommends: php-nikic-php-parser4 >= 4.3.0 +Recommends: php-nikic-php-parser4 >= 4.13.0 %description devel @@ -713,6 +713,7 @@ in pure PHP. %patch6 -p1 -b .embed %patch8 -p1 -b .libdb +%patch41 -p1 -b .syslib %patch42 -p1 -b .systzdata %patch43 -p1 -b .headers %if 0%{?fedora} >= 18 || 0%{?rhel} >= 7