summaryrefslogtreecommitdiffstats
path: root/php-8.4.0-systzdata-v24.patch
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2024-07-31 08:20:07 +0200
committerRemi Collet <remi@php.net>2024-07-31 08:20:07 +0200
commit2968e8a2440cf5ef1bafb4abefbab7c1be2513be (patch)
treed34e4f27451ca26573f0abb63db863f3bdf8bd5e /php-8.4.0-systzdata-v24.patch
parent3fadc52c1d1f1060b5b5075d0ccca52c90a6913b (diff)
Update to 8.4.0alpha3
fix build with libedit reverting a readline fix
Diffstat (limited to 'php-8.4.0-systzdata-v24.patch')
-rw-r--r--php-8.4.0-systzdata-v24.patch8
1 files changed, 4 insertions, 4 deletions
diff --git a/php-8.4.0-systzdata-v24.patch b/php-8.4.0-systzdata-v24.patch
index eeeeaad..6176a8b 100644
--- a/php-8.4.0-systzdata-v24.patch
+++ b/php-8.4.0-systzdata-v24.patch
@@ -39,9 +39,9 @@ r1: initial revision
diff -up ./ext/date/config0.m4.systzdata ./ext/date/config0.m4
--- ./ext/date/config0.m4.systzdata 2024-07-03 16:21:20.240786848 +0200
+++ ./ext/date/config0.m4 2024-07-03 16:25:14.838995464 +0200
-@@ -4,6 +4,18 @@ AC_CHECK_HEADERS([io.h])
- dnl Check for strtoll, atoll
- AC_CHECK_FUNCS([strtoll atoll])
+@@ -8,6 +8,18 @@
+ [PHP_DATE_CFLAGS="$PHP_DATE_CFLAGS -Wno-implicit-fallthrough"],,
+ [-Werror])
+PHP_ARG_WITH(system-tzdata, for use of system timezone data,
+ [AS_HELP_STRING([--with-system-tzdata[=DIR]],[to specify use of system timezone data])], no, no)
@@ -55,7 +55,7 @@ diff -up ./ext/date/config0.m4.systzdata ./ext/date/config0.m4
+ fi
+fi
+
- PHP_DATE_CFLAGS="-Wno-implicit-fallthrough -I@ext_builddir@/lib -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -DHAVE_TIMELIB_CONFIG_H=1"
+ PHP_DATE_CFLAGS="$PHP_DATE_CFLAGS -I@ext_builddir@/lib -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -DHAVE_TIMELIB_CONFIG_H=1"
timelib_sources="lib/astro.c lib/dow.c lib/parse_date.c lib/parse_tz.c lib/parse_posix.c
lib/timelib.c lib/tm2unixtime.c lib/unixtime2tm.c lib/parse_iso_intervals.c lib/interval.c"
diff -up ./ext/date/lib/parse_tz.c.systzdata ./ext/date/lib/parse_tz.c