0
0
mirror of https://github.com/openwrt/packages.git synced 2025-07-07 13:21:28 +00:00
Files
packages/lang/php8/patches/0023-php-5.4.9-fixheader.patch
Michael Heimpold 9ebb457377 php8: update to 8.4.5
This is a major upgrade to latest stable PHP version.

- IMAP extension was unbundled from PHP
- align patch filenames with latest ones from Debian
- removed obsolete patches
- adapted/refreshed patches
- added patch to remove call to httpd during configure
  Note: this assumes that 'prefork' mpm is used

Upstream changelog for this specific release:
https://www.php.net/ChangeLog-8.php#8.4.5

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
2025-04-10 06:45:31 +02:00

23 lines
809 B
Diff

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 | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
--- a/configure.ac
+++ b/configure.ac
@@ -1392,8 +1392,8 @@ EXTRA_LDFLAGS_PROGRAM="$EXTRA_LDFLAGS_PR
AC_ARG_VAR([PHP_UNAME],
[System information (defaults to the 'uname -a' output)])
-AS_VAR_IF([PHP_UNAME],, [PHP_UNAME=$(uname -a | xargs)])
-AC_DEFINE_UNQUOTED([PHP_UNAME], ["$PHP_UNAME"], [The 'uname -a' output.])
+AS_VAR_IF([PHP_UNAME],, [PHP_UNAME=$(uname | xargs)])
+AC_DEFINE_UNQUOTED([PHP_UNAME], ["$PHP_UNAME"], [The 'uname' output.])
PHP_OS=$(uname | xargs)
AC_DEFINE_UNQUOTED([PHP_OS], ["$PHP_OS"], [The 'uname' output.])