From 717c71a492d6addc7e940c59da7ad2f19ba0e3de Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 20 Jun 2014 10:23:32 +0200 Subject: php-pecl-runkit: build fix --- php-pecl-runkit.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/php-pecl-runkit.spec b/php-pecl-runkit.spec index 1563016..c50688e 100644 --- a/php-pecl-runkit.spec +++ b/php-pecl-runkit.spec @@ -99,9 +99,12 @@ ogólnego użytku. Wykonywanie danego kodu w ograniczonym środowisku mv runkit-%{gh_commit} NTS mv NTS/package.xml . -%if 0%{?rhel} == 5 sed -e 's/-Werror//' -i NTS/config.m4 -%endif + +# 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 %if %{with_zts} # duplicate for ZTS build -- cgit