diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2022-01-25 18:06:01 -0600 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2022-01-25 18:20:01 -0600 |
commit | cc378fb60bd6ff39ac810093b5fc83cf330c1d92 (patch) | |
tree | 7bafa7aa53795dec5c06d1af55dffa895e6ef8ce /devel/php73-intl | |
parent | graphics/R-cran-DiagrammeR: Update to 1.0.8 (diff) |
lang/php73: Remove port
- EOL reached on 2021-12-06
https://www.php.net/eol.php
PR: 260624
Approved by: tz (private email) ale portmgr (blanket)
Sponsored by: Bounce Experts
Diffstat (limited to 'devel/php73-intl')
-rw-r--r-- | devel/php73-intl/Makefile | 14 | ||||
-rw-r--r-- | devel/php73-intl/files/patch-icu68 | 213 | ||||
-rw-r--r-- | devel/php73-intl/files/patch-icu70 | 38 |
3 files changed, 0 insertions, 265 deletions
diff --git a/devel/php73-intl/Makefile b/devel/php73-intl/Makefile deleted file mode 100644 index 07497cbab4af..000000000000 --- a/devel/php73-intl/Makefile +++ /dev/null @@ -1,14 +0,0 @@ -CATEGORIES= devel - -MASTERDIR= ${.CURDIR}/../../lang/php73 - -PKGNAMESUFFIX= -intl - -USES= compiler:c++11-lib -USE_CXXSTD= gnu++11 - -CPPFLAGS+= -DU_USING_ICU_NAMESPACE=1 - -TEST_TARGET= test - -.include "${MASTERDIR}/Makefile" diff --git a/devel/php73-intl/files/patch-icu68 b/devel/php73-intl/files/patch-icu68 deleted file mode 100644 index 4462157b964f..000000000000 --- a/devel/php73-intl/files/patch-icu68 +++ /dev/null @@ -1,213 +0,0 @@ -Regressed by https://github.com/unicode-org/icu/commit/c3fe7e09d844 - -ext/intl/breakiterator/codepointiterator_internal.cpp:60:53: error: use of undeclared identifier 'FALSE' - this->fText = utext_clone(this->fText, that.fText, FALSE, TRUE, &uec); - ^ -ext/intl/breakiterator/codepointiterator_internal.cpp:60:60: error: use of undeclared identifier 'TRUE' - this->fText = utext_clone(this->fText, that.fText, FALSE, TRUE, &uec); - ^ -ext/intl/breakiterator/codepointiterator_internal.cpp:80:10: error: use of undeclared identifier 'FALSE' - return FALSE; - ^ -ext/intl/breakiterator/codepointiterator_internal.cpp:87:10: error: use of undeclared identifier 'FALSE' - return FALSE; - ^ -ext/intl/breakiterator/codepointiterator_internal.cpp:90:9: error: use of undeclared identifier 'TRUE' - return TRUE; - ^ -ext/intl/breakiterator/codepointiterator_internal.cpp:111:42: error: use of undeclared identifier 'FALSE' - return utext_clone(fillIn, this->fText, FALSE, TRUE, &status); - ^ -ext/intl/breakiterator/codepointiterator_internal.cpp:111:49: error: use of undeclared identifier 'TRUE' - return utext_clone(fillIn, this->fText, FALSE, TRUE, &status); - ^ -ext/intl/breakiterator/codepointiterator_internal.cpp:130:47: error: use of undeclared identifier 'FALSE' - this->fText = utext_clone(this->fText, text, FALSE, TRUE, &status); - ^ -ext/intl/breakiterator/codepointiterator_internal.cpp:130:54: error: use of undeclared identifier 'TRUE' - this->fText = utext_clone(this->fText, text, FALSE, TRUE, &status); - ^ -ext/intl/breakiterator/codepointiterator_internal.cpp:282:48: error: use of undeclared identifier 'FALSE' - this->fText = utext_clone(this->fText, input, FALSE, TRUE, &status); - ^ -ext/intl/breakiterator/codepointiterator_internal.cpp:282:55: error: use of undeclared identifier 'TRUE' - this->fText = utext_clone(this->fText, input, FALSE, TRUE, &status); - ^ -ext/intl/collator/collator_sort.c:349:26: error: use of undeclared identifier 'TRUE' - collator_sort_internal( TRUE, INTERNAL_FUNCTION_PARAM_PASSTHRU ); - ^ -ext/intl/collator/collator_sort.c:543:26: error: use of undeclared identifier 'FALSE' - collator_sort_internal( FALSE, INTERNAL_FUNCTION_PARAM_PASSTHRU ); - ^ -ext/intl/dateformat/dateformat_attr.c:91:36: error: use of undeclared identifier 'FALSE' - zend_bool is_pattern_localized =FALSE; - ^ -ext/intl/dateformat/dateformat_attr.c:134:36: error: use of undeclared identifier 'FALSE' - zend_bool is_pattern_localized =FALSE; - ^ -ext/intl/dateformat/dateformat_attr.c:230:25: error: use of undeclared identifier 'FALSE' - zend_bool isLenient = FALSE; - ^ -ext/intl/normalizer/normalizer_normalize.c:95:10: error: use of undeclared identifier 'FALSE' - return FALSE; - ^ -ext/intl/normalizer/normalizer_normalize.c:181:16: error: use of undeclared identifier 'FALSE' - UBool uret = FALSE; - ^ -ext/intl/timezone/timezone_class.cpp:324:21: error: use of undeclared identifier 'FALSE' - tz->getOffset(now, FALSE, rawOffset, dstOffset, uec); - ^ -ext/intl/timezone/timezone_methods.cpp:94:57: error: use of undeclared identifier 'FALSE' - tz = timezone_convert_datetimezone(tzobj->type, tzobj, FALSE, NULL, - ^ - ---- breakiterator/codepointiterator_internal.cpp.orig 2020-09-29 08:33:05 UTC -+++ breakiterator/codepointiterator_internal.cpp -@@ -58,7 +58,7 @@ CodePointBreakIterator& CodePointBreakIterator::operat - return *this; - } - -- this->fText = utext_clone(this->fText, that.fText, FALSE, TRUE, &uec); -+ this->fText = utext_clone(this->fText, that.fText, false, true, &uec); - - //don't bother copying the character iterator, getText() is deprecated - clearCurrentCharIter(); -@@ -78,17 +78,17 @@ CodePointBreakIterator::~CodePointBreakIterator() - UBool CodePointBreakIterator::operator==(const BreakIterator& that) const - { - if (typeid(*this) != typeid(that)) { -- return FALSE; -+ return false; - } - - const CodePointBreakIterator& that2 = - static_cast<const CodePointBreakIterator&>(that); - - if (!utext_equals(this->fText, that2.fText)) { -- return FALSE; -+ return false; - } - -- return TRUE; -+ return true; - } - - CodePointBreakIterator* CodePointBreakIterator::clone(void) const -@@ -109,7 +109,7 @@ CharacterIterator& CodePointBreakIterator::getText(voi - - UText *CodePointBreakIterator::getUText(UText *fillIn, UErrorCode &status) const - { -- return utext_clone(fillIn, this->fText, FALSE, TRUE, &status); -+ return utext_clone(fillIn, this->fText, false, true, &status); - } - - void CodePointBreakIterator::setText(const UnicodeString &text) -@@ -128,7 +128,7 @@ void CodePointBreakIterator::setText(UText *text, UErr - return; - } - -- this->fText = utext_clone(this->fText, text, FALSE, TRUE, &status); -+ this->fText = utext_clone(this->fText, text, false, true, &status); - - clearCurrentCharIter(); - } -@@ -280,7 +280,7 @@ CodePointBreakIterator &CodePointBreakIterator::refres - } - - int64_t pos = utext_getNativeIndex(this->fText); -- this->fText = utext_clone(this->fText, input, FALSE, TRUE, &status); -+ this->fText = utext_clone(this->fText, input, false, true, &status); - if (U_FAILURE(status)) { - return *this; - } ---- collator/collator_sort.c.orig 2020-09-29 08:33:05 UTC -+++ collator/collator_sort.c -@@ -346,7 +346,7 @@ static void collator_sort_internal( int renumber, INTE - */ - PHP_FUNCTION( collator_sort ) - { -- collator_sort_internal( TRUE, INTERNAL_FUNCTION_PARAM_PASSTHRU ); -+ collator_sort_internal( true, INTERNAL_FUNCTION_PARAM_PASSTHRU ); - } - /* }}} */ - -@@ -540,7 +540,7 @@ PHP_FUNCTION( collator_sort_with_sort_keys ) - */ - PHP_FUNCTION( collator_asort ) - { -- collator_sort_internal( FALSE, INTERNAL_FUNCTION_PARAM_PASSTHRU ); -+ collator_sort_internal( false, INTERNAL_FUNCTION_PARAM_PASSTHRU ); - } - /* }}} */ - ---- dateformat/dateformat_attr.c.orig 2020-09-29 08:33:05 UTC -+++ dateformat/dateformat_attr.c -@@ -88,7 +88,7 @@ PHP_FUNCTION( datefmt_get_pattern ) - UChar value_buf[64]; - uint32_t length = USIZE( value_buf ); - UChar* value = value_buf; -- zend_bool is_pattern_localized =FALSE; -+ zend_bool is_pattern_localized = false; - - DATE_FORMAT_METHOD_INIT_VARS; - -@@ -131,7 +131,7 @@ PHP_FUNCTION( datefmt_set_pattern ) - size_t value_len = 0; - int32_t slength = 0; - UChar* svalue = NULL; -- zend_bool is_pattern_localized =FALSE; -+ zend_bool is_pattern_localized = false; - - - DATE_FORMAT_METHOD_INIT_VARS; -@@ -227,7 +227,7 @@ PHP_FUNCTION( datefmt_is_lenient ) - */ - PHP_FUNCTION( datefmt_set_lenient ) - { -- zend_bool isLenient = FALSE; -+ zend_bool isLenient = false; - - DATE_FORMAT_METHOD_INIT_VARS; - ---- normalizer/normalizer_normalize.c.orig 2020-09-29 08:33:05 UTC -+++ normalizer/normalizer_normalize.c -@@ -92,7 +92,7 @@ static UBool intl_is_normalized(zend_long form, const - const UNormalizer2 *norm = intl_get_normalizer(form, err); - - if(U_FAILURE(*err)) { -- return FALSE; -+ return false; - } - - return unorm2_isNormalized(norm, uinput, uinput_len, err); -@@ -263,7 +263,7 @@ PHP_FUNCTION( normalizer_is_normalized ) - int uinput_len = 0; - UErrorCode status = U_ZERO_ERROR; - -- UBool uret = FALSE; -+ UBool uret = false; - - intl_error_reset( NULL ); - ---- timezone/timezone_class.cpp.orig 2020-09-29 08:33:05 UTC -+++ timezone/timezone_class.cpp -@@ -322,7 +322,7 @@ static HashTable *TimeZone_get_debug_info(zval *object - - int32_t rawOffset, dstOffset; - UDate now = Calendar::getNow(); -- tz->getOffset(now, FALSE, rawOffset, dstOffset, uec); -+ tz->getOffset(now, false, rawOffset, dstOffset, uec); - if (U_FAILURE(uec)) { - return debug_info; - } ---- timezone/timezone_methods.cpp.orig 2020-09-29 08:33:05 UTC -+++ timezone/timezone_methods.cpp -@@ -95,7 +95,7 @@ U_CFUNC PHP_FUNCTION(intltz_from_date_time_zone) - RETURN_NULL(); - } - -- tz = timezone_convert_datetimezone(tzobj->type, tzobj, FALSE, NULL, -+ tz = timezone_convert_datetimezone(tzobj->type, tzobj, false, NULL, - "intltz_from_date_time_zone"); - if (tz == NULL) { - RETURN_NULL(); diff --git a/devel/php73-intl/files/patch-icu70 b/devel/php73-intl/files/patch-icu70 deleted file mode 100644 index a46cefcf5555..000000000000 --- a/devel/php73-intl/files/patch-icu70 +++ /dev/null @@ -1,38 +0,0 @@ -Regressed by https://github.com/unicode-org/icu/commit/633438f8da99 - -In file included from breakiterator/breakiterator_class.cpp:23: -breakiterator/codepointiterator_internal.h:42:17: error: virtual function 'operator==' has a different return type ('UBool' (aka 'signed char')) than the function it overrides (which has return type 'bool') - virtual UBool operator==(const BreakIterator& that) const; - ~~~~~ ^ -/usr/local/include/unicode/brkiter.h:127:18: note: overridden virtual function is here - virtual bool operator==(const BreakIterator&) const = 0; - ~~~~ ^ - ---- breakiterator/codepointiterator_internal.cpp.orig 2021-09-21 10:24:05 UTC -+++ breakiterator/codepointiterator_internal.cpp -@@ -75,7 +75,11 @@ CodePointBreakIterator::~CodePointBreakIterator() - clearCurrentCharIter(); - } - -+#if U_ICU_VERSION_MAJOR_NUM < 70 - UBool CodePointBreakIterator::operator==(const BreakIterator& that) const -+#else -+bool CodePointBreakIterator::operator==(const BreakIterator& that) const -+#endif - { - if (typeid(*this) != typeid(that)) { - return FALSE; ---- breakiterator/codepointiterator_internal.h.orig 2021-09-21 10:24:05 UTC -+++ breakiterator/codepointiterator_internal.h -@@ -39,7 +39,11 @@ namespace PHP { - - virtual ~CodePointBreakIterator(); - -+#if U_ICU_VERSION_MAJOR_NUM < 70 - virtual UBool operator==(const BreakIterator& that) const; -+#else -+ virtual bool operator==(const BreakIterator& that) const; -+#endif - - virtual CodePointBreakIterator* clone(void) const; - |