summaryrefslogtreecommitdiffstats
path: root/zephir-rpm.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2017-10-11 17:47:49 +0200
committerRemi Collet <remi@remirepo.net>2017-10-11 17:47:49 +0200
commitd6e19e1db57f0b79087366ffbc30ef45c2dd77eb (patch)
treef356275f88a76e7db147673f3887ea9e36486dfc /zephir-rpm.patch
parent956074093d802dc2d712f83a1edfd78c74ea753d (diff)
version 0.10.2
drop zephir-parser sub-package add dependency on php-zephir-parser
Diffstat (limited to 'zephir-rpm.patch')
-rw-r--r--zephir-rpm.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/zephir-rpm.patch b/zephir-rpm.patch
index 30b5ea7..43e36a5 100644
--- a/zephir-rpm.patch
+++ b/zephir-rpm.patch
@@ -1,6 +1,6 @@
diff -up bin/zephir.rpm bin/zephir
---- bin/zephir.rpm 2016-10-10 10:45:24.937478208 +0200
-+++ bin/zephir 2016-10-10 10:47:47.437248408 +0200
+--- 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 @@
#!/bin/sh
-if [ -z "$ZEPHIRDIR" ]; then
@@ -25,9 +25,9 @@ diff -up bin/zephir.rpm bin/zephir
+export ZEPHIRDIR="@DATADIR@/zephir"
if [ ! -z $1 ] && [ ! -z $2 ] && [ ! -z $3 ] && [ "$1" = "-c" ]; then
-- php -d safe_mode=Off -d enable_dl=On -c $2 $ZEPHIRDIR/compiler.php ${*:3}
+- php -c $2 $ZEPHIRDIR/compiler.php ${*:3}
+ @BINDIR@/php -d memory_limit=1G -d extension=zephir_parser.so -c $2 $ZEPHIRDIR/compiler.php ${*:3}
else
-- php -d safe_mode=Off -d enable_dl=On $ZEPHIRDIR/compiler.php $*
+- php $ZEPHIRDIR/compiler.php $*
+ @BINDIR@/php -d memory_limit=1G -d extension=zephir_parser.so $ZEPHIRDIR/compiler.php $*
fi