mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-08 05:29:22 +00:00
php: remove host specific info from header file
Import patch from Debian. Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
php: remove host specific info from header file
|
||||
|
||||
https://sources.debian.org/data/main/p/php7.3/7.3.6-1/debian/patches/
|
||||
0036-php-5.4.9-fixheader.patch
|
||||
|
||||
Upstream-Status: Inappropriate [not author]
|
||||
Signed-off-by: Joe Slater <joe.slater@windriver.com>
|
||||
|
||||
---
|
||||
From: Debian PHP Maintainers <pkg-php-maint@lists.alioth.debian.org>
|
||||
Date: Sat, 2 May 2015 10:26:56 +0200
|
||||
Subject: php-5.4.9-fixheader
|
||||
|
||||
Make generated php_config.h constant across rebuilds.
|
||||
---
|
||||
configure.ac | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 433d7e6..41893d7 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -1357,7 +1357,7 @@ 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`
|
||||
+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])
|
||||
@@ -6,6 +6,7 @@ SRC_URI += "file://0001-acinclude.m4-don-t-unset-cache-variables.patch \
|
||||
file://0048-Use-pkg-config-for-FreeType2-detection.patch \
|
||||
file://0049-ext-intl-Use-pkg-config-to-detect-icu.patch \
|
||||
file://0001-Use-pkg-config-for-libxml2-detection.patch \
|
||||
file://debian-php-fixheader.patch \
|
||||
"
|
||||
SRC_URI_append_class-target = " \
|
||||
file://pear-makefile.patch \
|
||||
|
||||
Reference in New Issue
Block a user