fix nikic/php-parser patch

This commit is contained in:
Remi Collet 2021-11-10 07:32:28 +01:00
parent 1cf429c597
commit 9d310b6c56
2 changed files with 3 additions and 2 deletions

View File

@ -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)) {

View File

@ -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