summaryrefslogtreecommitdiff
path: root/intl-stdc++.patch
diff options
context:
space:
mode:
authorAdam Gołębiowski2021-05-13 18:44:15 (GMT)
committerAdam Gołębiowski2021-05-13 18:44:15 (GMT)
commita17aa39961c2bc3afc16d067decce3adcbbf3326 (patch)
tree7a85b3fdba23dafdf1437cab6ff06f8a3b7e3cc3 /intl-stdc++.patch
parent45629e6e9bbed84edb75f9580aabea932a696556 (diff)
downloadphp-a17aa39961c2bc3afc16d067decce3adcbbf3326.zip
php-a17aa39961c2bc3afc16d067decce3adcbbf3326.tar.gz
- updated to 8.0.2 (solves CVE-2021-21702)
Diffstat (limited to 'intl-stdc++.patch')
-rw-r--r--intl-stdc++.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/intl-stdc++.patch b/intl-stdc++.patch
index 7c18064..3ad69f0 100644
--- a/intl-stdc++.patch
+++ b/intl-stdc++.patch
@@ -17,10 +17,10 @@ so just omit PHP_ADD_LIBRARY(stdc++)
--- php-7.0.6/ext/intl/config.m4~ 2016-04-28 21:13:06.000000000 +0300
+++ php-7.0.6/ext/intl/config.m4 2016-05-16 18:49:53.909531704 +0300
@@ -6,6 +6,7 @@
- [ --enable-intl Enable internationalization support])
+ [Enable internationalization support])])
if test "$PHP_INTL" != "no"; then
+ dnl -lstdc++ not needed, will be inherited from icu
PHP_SETUP_ICU(INTL_SHARED_LIBADD)
PHP_SUBST(INTL_SHARED_LIBADD)
- PHP_REQUIRE_CXX()
+ INTL_COMMON_FLAGS="$ICU_CFLAGS -Wno-write-strings -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1"