summaryrefslogtreecommitdiffstats
path: root/php-7.2.0-fixheader.patch
diff options
context:
space:
mode:
Diffstat (limited to 'php-7.2.0-fixheader.patch')
-rw-r--r--php-7.2.0-fixheader.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/php-7.2.0-fixheader.patch b/php-7.2.0-fixheader.patch
new file mode 100644
index 0000000..bc822fd
--- /dev/null
+++ b/php-7.2.0-fixheader.patch
@@ -0,0 +1,15 @@
+--- php-7.2.0/configure.ac.fixheader 2017-04-12 09:42:21.510812285 +0200
++++ php-7.2.0/configure.ac 2017-04-12 09:43:45.055224385 +0200
+@@ -1263,10 +1263,10 @@
+ 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])
+
+-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])