summaryrefslogtreecommitdiffstats
path: root/zephir-rpm.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2017-10-13 11:03:14 +0200
committerRemi Collet <remi@remirepo.net>2017-10-13 11:03:14 +0200
commitbe666a1672a922506095b207f799b3ea02d94132 (patch)
tree8a878f0aa1529d4c400152c91159b58a9f269118 /zephir-rpm.patch
parentd2024e58b86fdf684a36861b635b7a39866896ab (diff)
disable timecop which breaks zephir see https://github.com/phalcon/zephir/pull/1588
Diffstat (limited to 'zephir-rpm.patch')
-rw-r--r--zephir-rpm.patch4
1 files changed, 2 insertions, 2 deletions
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