summaryrefslogtreecommitdiffstats
path: root/php-7.0.0-fixheader.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2015-03-25 10:58:14 +0100
committerRemi Collet <fedora@famillecollet.com>2015-03-25 10:58:14 +0100
commit1ef5e3e2e85bb2fe0c49a49f3c55281cd359cef0 (patch)
tree06b69847db8e60dfb3a906bcd375c16197315b0f /php-7.0.0-fixheader.patch
parent269aea723ad57e4a4a899f5adc93c19f832b106a (diff)
php70-php - initial work for 7.0.0-dev
- ereg, mssql, mysql and sybase_ct extensions are removed - add pdo-dblib subpackage (instead of php-mssql) - disable oci8 extension, not adapted yet for 7.0
Diffstat (limited to 'php-7.0.0-fixheader.patch')
-rw-r--r--php-7.0.0-fixheader.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/php-7.0.0-fixheader.patch b/php-7.0.0-fixheader.patch
new file mode 100644
index 0000000..771a19e
--- /dev/null
+++ b/php-7.0.0-fixheader.patch
@@ -0,0 +1,23 @@
+
+Make generated php_config.h constant across rebuilds.
+
+--- php-7.0.0/configure.in.fixheader
++++ php-7.0.0/configure.in
+@@ -1278,7 +1278,7 @@ fi
+ EXTRA_LDFLAGS="$EXTRA_LDFLAGS $PHP_LDFLAGS"
+ EXTRA_LDFLAGS_PROGRAM="$EXTRA_LDFLAGS_PROGRAM $PHP_LDFLAGS"
+
+-PHP_BUILD_DATE=`date '+%Y-%m-%d'`
++PHP_BUILD_DATE=`date '+%Y-%m-%d' -r $srcdir/NEWS`
+ AC_DEFINE_UNQUOTED(PHP_BUILD_DATE,"$PHP_BUILD_DATE",[PHP build date])
+
+ case $host_alias in
+@@ -1289,7 +1289,7 @@ case $host_alias in
+ AC_DEFINE_UNQUOTED(PHP_UNAME,"$PHP_UNAME",[hardcode for each of the cross compiler host])
+ ;;
+ *)
+- PHP_UNAME=`uname -a | xargs`
++ PHP_UNAME=`uname | xargs`
+ AC_DEFINE_UNQUOTED(PHP_UNAME,"$PHP_UNAME",[uname -a output])
+ PHP_OS=`uname | xargs`
+ AC_DEFINE_UNQUOTED(PHP_OS,"$PHP_OS",[uname output])