Skip to content

Commit 540a9f5

Browse files
committed
Refresh intl patch for PHP 8.1 [skip ci]
1 parent 9a7d407 commit 540a9f5

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

config/patches/8.1/0034-Amend-C-11-for-intl-compilation-on-older-distributio.patch

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,13 @@ Subject: Amend C++11 for intl compilation on older distributions
77
1 file changed, 1 insertion(+), 1 deletion(-)
88

99
diff --git a/ext/intl/config.m4 b/ext/intl/config.m4
10-
index 2a9477f..549e4cc 100644
10+
index 27cd8b3..06ab68b 100644
1111
--- a/ext/intl/config.m4
1212
+++ b/ext/intl/config.m4
13-
@@ -86,7 +86,7 @@ if test "$PHP_INTL" != "no"; then
13+
@@ -95,7 +95,7 @@ if test "$PHP_INTL" != "no"; then
14+
PHP_CXX_COMPILE_STDCXX(11, mandatory, PHP_INTL_STDCXX)
15+
])
1416

15-
PHP_REQUIRE_CXX()
16-
PHP_CXX_COMPILE_STDCXX(11, mandatory, PHP_INTL_STDCXX)
1717
- PHP_INTL_CXX_FLAGS="$INTL_COMMON_FLAGS $PHP_INTL_STDCXX $ICU_CXXFLAGS"
1818
+ PHP_INTL_CXX_FLAGS="$INTL_COMMON_FLAGS $PHP_INTL_STDCXX $ICU_CXXFLAGS -std=c++11"
1919
case $host_alias in

0 commit comments

Comments
 (0)