mirror of
https://github.com/termux-pacman/termux-packages.git
synced 2026-01-05 10:23:24 +00:00
16 lines
592 B
Diff
16 lines
592 B
Diff
Since ICU 75, ICU C++ headers need at least C++17 to compile as it
|
|
uses `std::enable_if_t` (introduced in C++14) and `std::is_same_v`
|
|
(introduced in C++17).
|
|
|
|
--- a/ext/intl/config.m4
|
|
+++ b/ext/intl/config.m4
|
|
@@ -80,7 +80,7 @@
|
|
breakiterator/codepointiterator_methods.cpp"
|
|
|
|
PHP_REQUIRE_CXX()
|
|
- PHP_CXX_COMPILE_STDCXX(11, mandatory, PHP_INTL_STDCXX)
|
|
+ PHP_CXX_COMPILE_STDCXX(17, mandatory, PHP_INTL_STDCXX)
|
|
PHP_INTL_CXX_FLAGS="$INTL_COMMON_FLAGS $PHP_INTL_STDCXX $ICU_CXXFLAGS"
|
|
case $host_alias in
|
|
*cygwin*) PHP_INTL_CXX_FLAGS="$PHP_INTL_CXX_FLAGS -D_POSIX_C_SOURCE=200809L"
|