summaryrefslogtreecommitdiffstats
path: root/php-7.2.32-fixheader.patch
blob: eb15f4617982e2d3de2ff9e3e995d9c41a5e797b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
diff -up ./configure.ac.fixheader ./configure.ac
--- ./configure.ac.fixheader	2020-07-06 16:04:56.069183751 +0200
+++ ./configure.ac	2020-07-06 16:05:52.044046238 +0200
@@ -1303,7 +1303,8 @@ PHP_BUILD_DATE=`date -u +%Y-%m-%d`
 fi
 AC_DEFINE_UNQUOTED(PHP_BUILD_DATE,"$PHP_BUILD_DATE",[PHP build date])
 
-PHP_UNAME=`uname -a | xargs`
+UNAME=`uname -a | xargs`
+PHP_UNAME=${PHP_UNAME:-$UNAME}
 AC_DEFINE_UNQUOTED(PHP_UNAME,"$PHP_UNAME",[uname -a output])
 PHP_OS=`uname | xargs`
 AC_DEFINE_UNQUOTED(PHP_OS,"$PHP_OS",[uname output])