From 07bf8b7fdf8c478b456d639de004ede8973966fd Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 10 Nov 2017 07:03:19 +0100 Subject: v1.1.1 --- php-zephir-parser-build.patch | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) (limited to 'php-zephir-parser-build.patch') diff --git a/php-zephir-parser-build.patch b/php-zephir-parser-build.patch index 6c16bcb..27c2ef1 100644 --- a/php-zephir-parser-build.patch +++ b/php-zephir-parser-build.patch @@ -1,15 +1,15 @@ diff -up ./install.rpm ./install ---- ./install.rpm 2017-10-12 11:26:32.000000000 +0200 -+++ ./install 2017-10-12 11:29:16.000000000 +0200 -@@ -33,7 +33,6 @@ fi +--- ./install.rpm 2017-11-09 08:30:30.000000000 +0100 ++++ ./install 2017-11-10 06:55:13.646045853 +0100 +@@ -50,7 +50,6 @@ fi # Check best compilation flags for compiler export CC=gcc -export CFLAGS="-march=native -mtune=native -O2 -fomit-frame-pointer" # Set defaults - PHPIZE_BIN=$(command -v phpize 2>/dev/null) -@@ -74,28 +73,6 @@ if [ "${PHP_FULL_VERSION:0:3}" == "5.4" + PHPIZE_BIN=`command -v phpize 2>/dev/null || true` +@@ -91,28 +90,6 @@ if [ "${PHP_FULL_VERSION:0:3}" == "5.4" exit 1 fi @@ -38,12 +38,16 @@ diff -up ./install.rpm ./install cd ${CURRENT_DIR}/parser # Cleanup -@@ -166,33 +143,3 @@ if [ "$(uname -s 2>/dev/null)" = "Darwin - aclocal && ${LIBTOOLIZE_BIN} --force && autoheader && autoconf +@@ -182,36 +159,3 @@ if [ "$(uname -s 2>/dev/null)" = "Darwin + aclocal && ${LIBTOOLIZE_BIN} --force && autoheader && autoconf fi --./configure --silent --with-php-config=${PHPCONFIG_BIN} --enable-zephir_parser +-./configure \ +- --silent \ +- --with-php-config=${PHPCONFIG_BIN} \ +- --enable-zephir_parser - +-# Perform the compilation -make -s -j"$(getconf _NPROCESSORS_ONLN)" -make -s install - @@ -71,4 +75,3 @@ diff -up ./install.rpm ./install - config.h.in~ - -echo -e "\nThanks for compiling Zephir Parser!\nBuild succeed: Please restart your web server to complete the installation\n" -- -- cgit