X-Git-Url: https://git.tld-linux.org/?p=packages%2Fphp.git;a=blobdiff_plain;f=intl-stdc%2B%2B.patch;h=3ad69f06c57ba60c4c6ffbaad970aee8bc770294;hp=7c180641f40c3b01420b61d23cdc766dc8cc5a21;hb=HEAD;hpb=e6f83ff85ff9f0aee5fb84a941ec5978c62af03c 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"