diff options
author | Remi Collet <fedora@famillecollet.com> | 2014-02-28 09:54:37 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2014-02-28 09:54:37 +0100 |
commit | 85ff99087b33995f15de968e2e89c81ef446d8d6 (patch) | |
tree | 5700fbc7dd8fb1b30dcec779c0be31f6d41c095d /php-5.4.9-fixheader.patch |
PHP duplicate 5.5 tree for 5.6
Diffstat (limited to 'php-5.4.9-fixheader.patch')
-rw-r--r-- | php-5.4.9-fixheader.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/php-5.4.9-fixheader.patch b/php-5.4.9-fixheader.patch new file mode 100644 index 0000000..f4e7db5 --- /dev/null +++ b/php-5.4.9-fixheader.patch @@ -0,0 +1,23 @@ + +Make generated php_config.h constant across rebuilds. + +--- php-5.4.9/configure.in.fixheader ++++ php-5.4.9/configure.in +@@ -1258,7 +1258,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 +@@ -1269,7 +1269,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]) |