summaryrefslogtreecommitdiffstats
path: root/php-7.0.0-includedir.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2016-06-08 10:22:01 +0200
committerRemi Collet <fedora@famillecollet.com>2016-06-08 10:22:01 +0200
commit234ed29dac369814c696f626c1fe297ade963986 (patch)
tree6023997dc8b9f1d00df697ee995f8bc28d2730c1 /php-7.0.0-includedir.patch
php71-php: 7.1.0alpha1
Diffstat (limited to 'php-7.0.0-includedir.patch')
-rw-r--r--php-7.0.0-includedir.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/php-7.0.0-includedir.patch b/php-7.0.0-includedir.patch
new file mode 100644
index 0000000..a19d502
--- /dev/null
+++ b/php-7.0.0-includedir.patch
@@ -0,0 +1,11 @@
+--- php-7.0.0/configure.in.includedir
++++ php-7.0.0/configure.in
+@@ -1245,7 +1245,7 @@
+ EXPANDED_DATADIR=$datadir
+ EXPANDED_PHP_CONFIG_FILE_PATH=`eval echo "$PHP_CONFIG_FILE_PATH"`
+ EXPANDED_PHP_CONFIG_FILE_SCAN_DIR=`eval echo "$PHP_CONFIG_FILE_SCAN_DIR"`
+-INCLUDE_PATH=.:$EXPANDED_PEAR_INSTALLDIR
++INCLUDE_PATH=.:$EXPANDED_PEAR_INSTALLDIR:${EXPANDED_DATADIR}/php:/usr/share/pear:/usr/share/php
+
+ exec_prefix=$old_exec_prefix
+ libdir=$old_libdir