From c2f47e8fd660fd4cbb1b4c164ee82fe97542df55 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 1 Sep 2014 07:41:03 +0200 Subject: php-pecl-runkit: fix php < 5.6 build --- php-pecl-runkit.spec | 2 ++ 1 file changed, 2 insertions(+) diff --git a/php-pecl-runkit.spec b/php-pecl-runkit.spec index e4bcd73..ab0158f 100644 --- a/php-pecl-runkit.spec +++ b/php-pecl-runkit.spec @@ -104,10 +104,12 @@ mv NTS/package.xml . sed -e 's/-Werror//' -i NTS/config.m4 +%if "%{php_version}" > "5.6" # Quick fix for PHP 5.6 # https://github.com/zenovich/runkit/issues/69 sed -e 's/IS_CONSTANT_ARRAY/IS_CONSTANT_AST/' \ -i NTS/runkit_import.c NTS/runkit_props.c +%endif %if %{with_zts} # duplicate for ZTS build -- cgit