From be666a1672a922506095b207f799b3ea02d94132 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 13 Oct 2017 11:03:14 +0200 Subject: disable timecop which breaks zephir see https://github.com/phalcon/zephir/pull/1588 --- zephir-rpm.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'zephir-rpm.patch') diff --git a/zephir-rpm.patch b/zephir-rpm.patch index 43e36a5..52039be 100644 --- a/zephir-rpm.patch +++ b/zephir-rpm.patch @@ -26,8 +26,8 @@ diff -up bin/zephir.rpm bin/zephir if [ ! -z $1 ] && [ ! -z $2 ] && [ ! -z $3 ] && [ "$1" = "-c" ]; then - php -c $2 $ZEPHIRDIR/compiler.php ${*:3} -+ @BINDIR@/php -d memory_limit=1G -d extension=zephir_parser.so -c $2 $ZEPHIRDIR/compiler.php ${*:3} ++ @BINDIR@/php -d timecop.func_override=0 -d memory_limit=1G -d extension=zephir_parser.so -c $2 $ZEPHIRDIR/compiler.php ${*:3} else - php $ZEPHIRDIR/compiler.php $* -+ @BINDIR@/php -d memory_limit=1G -d extension=zephir_parser.so $ZEPHIRDIR/compiler.php $* ++ @BINDIR@/php -d timecop.func_override=0 -d memory_limit=1G -d extension=zephir_parser.so $ZEPHIRDIR/compiler.php $* fi -- cgit