php8: update to 8.2.0

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
This commit is contained in:
Michael Heimpold
2022-12-12 21:10:23 +01:00
parent f7b73bf000
commit 94c4f13ce6
6 changed files with 155 additions and 45 deletions

View File

@@ -15,8 +15,8 @@ To be used in tandem with use_embedded_timezonedb.patch and use_embedded_timezon
--- a/ext/date/php_date.c
+++ b/ext/date/php_date.c
@@ -545,6 +545,23 @@ static char* guess_timezone(const timeli
DATEG(timezone_valid) = 1;
@@ -549,6 +549,23 @@ static char* guess_timezone(const timeli
} else if (*DATEG(default_timezone)) {
return DATEG(default_timezone);
}
+ /* Try to guess timezone from system information */

View File

@@ -9,7 +9,7 @@ Make generated php_config.h constant across rebuilds.
--- a/configure.ac
+++ b/configure.ac
@@ -1399,7 +1399,7 @@ PHP_REMOVE_USR_LIB(LDFLAGS)
@@ -1440,7 +1440,7 @@ PHP_REMOVE_USR_LIB(LDFLAGS)
EXTRA_LDFLAGS="$EXTRA_LDFLAGS $PHP_LDFLAGS"
EXTRA_LDFLAGS_PROGRAM="$EXTRA_LDFLAGS_PROGRAM $PHP_LDFLAGS"

View File

@@ -11,7 +11,7 @@
--- a/configure.ac
+++ b/configure.ac
@@ -1576,13 +1576,13 @@ CFLAGS_CLEAN="$CFLAGS \$(PROF_FLAGS)"
@@ -1623,13 +1623,13 @@ CFLAGS_CLEAN="$CFLAGS \$(PROF_FLAGS)"
CFLAGS="\$(CFLAGS_CLEAN) $standard_libtool_flag"
CXXFLAGS="$CXXFLAGS $standard_libtool_flag \$(PROF_FLAGS)"