summarylogtreecommitdiffstats
path: root/php-icu-php7.3.patch
diff options
context:
space:
mode:
Diffstat (limited to 'php-icu-php7.3.patch')
-rw-r--r--php-icu-php7.3.patch40
1 files changed, 0 insertions, 40 deletions
diff --git a/php-icu-php7.3.patch b/php-icu-php7.3.patch
deleted file mode 100644
index 82120023b79c..000000000000
--- a/php-icu-php7.3.patch
+++ /dev/null
@@ -1,40 +0,0 @@
---- a/ext/intl/breakiterator/codepointiterator_internal.cpp
-+++ b/ext/intl/breakiterator/codepointiterator_internal.cpp
-@@ -74,7 +74,11 @@
- clearCurrentCharIter();
- }
-
-+#if U_ICU_VERSION_MAJOR_NUM >= 70
-+bool CodePointBreakIterator::operator==(const BreakIterator& that) const
-+#else
- UBool CodePointBreakIterator::operator==(const BreakIterator& that) const
-+#endif
- {
- if (typeid(*this) != typeid(that)) {
- return FALSE;
---- a/ext/intl/breakiterator/codepointiterator_internal.h
-+++ b/ext/intl/breakiterator/codepointiterator_internal.h
-@@ -36,8 +36,11 @@
-
- virtual ~CodePointBreakIterator();
-
-+#if U_ICU_VERSION_MAJOR_NUM >= 70
-+ virtual bool operator==(const BreakIterator& that) const;
-+#else
- virtual UBool operator==(const BreakIterator& that) const;
--
-+#endif
- virtual CodePointBreakIterator* clone(void) const;
-
- virtual UClassID getDynamicClassID(void) const;
---- a/ext/intl/locale/locale_methods.c
-+++ b/ext/intl/locale/locale_methods.c
-@@ -1326,7 +1326,7 @@
- if( token && (token==cur_lang_tag) ){
- /* check if the char. after match is SEPARATOR */
- chrcheck = token + (strlen(cur_loc_range));
-- if( isIDSeparator(*chrcheck) || isEndOfTag(*chrcheck) ){
-+ if( isIDSeparator(*chrcheck) || isKeywordSeparator(*chrcheck) || isEndOfTag(*chrcheck) ){
- efree( cur_lang_tag );
- efree( cur_loc_range );
- if( can_lang_tag){