diff options
author | Remi Collet <remi@remirepo.net> | 2017-10-23 07:11:22 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2017-10-23 07:11:22 +0200 |
commit | a732f7ff29ea09c220bcbbcca3d53538091f82e2 (patch) | |
tree | 2e1f3bee82f9960f483b557835aa673ba080996d /zephir-rpm.patch | |
parent | be666a1672a922506095b207f799b3ea02d94132 (diff) |
v0.10.4
Diffstat (limited to 'zephir-rpm.patch')
-rw-r--r-- | zephir-rpm.patch | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/zephir-rpm.patch b/zephir-rpm.patch index 52039be..9598e20 100644 --- a/zephir-rpm.patch +++ b/zephir-rpm.patch @@ -1,9 +1,9 @@ -diff -up bin/zephir.rpm bin/zephir ---- bin/zephir.rpm 2017-10-11 16:28:17.271148783 +0200 -+++ bin/zephir 2017-10-11 17:37:30.075485109 +0200 -@@ -1,26 +1,8 @@ +diff -up ./bin/zephir.rpm ./bin/zephir +--- ./bin/zephir.rpm 2017-10-23 07:02:31.781050845 +0200 ++++ ./bin/zephir 2017-10-23 07:04:04.955553874 +0200 +@@ -1,26 +1,10 @@ #!/bin/sh --if [ -z "$ZEPHIRDIR" ]; then + if [ -z "$ZEPHIRDIR" ]; then - ZEPHIRDIR="%ZEPHIRDIR%" - if [ "$ZEPHIRDIR" = "%""ZEPHIRDIR""%" ]; then - if [ -h $0 ]; then @@ -21,13 +21,13 @@ diff -up bin/zephir.rpm bin/zephir - exit 1 - fi - fi --fi -+export ZEPHIRDIR="@DATADIR@/zephir" ++ export ZEPHIRDIR="@DATADIR@/zephir" + fi if [ ! -z $1 ] && [ ! -z $2 ] && [ ! -z $3 ] && [ "$1" = "-c" ]; then -- php -c $2 $ZEPHIRDIR/compiler.php ${*:3} +- php -d timecop.func_override=0 -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 $* +- php -d timecop.func_override=0 $ZEPHIRDIR/compiler.php $* + @BINDIR@/php -d timecop.func_override=0 -d memory_limit=1G -d extension=zephir_parser.so $ZEPHIRDIR/compiler.php $* fi |