aboutsummaryrefslogtreecommitdiffstats
path: root/community/php7/fix-tests-icu.patch
diff options
context:
space:
mode:
authorAndy Postnikov <apostnikov@gmail.com>2019-12-02 04:21:22 -0500
committerAndy Postnikov <apostnikov@gmail.com>2020-06-15 02:46:20 +0300
commitb315e28b96f16c2a8973a55a736e1e35482203dd (patch)
treefba078473d12220cecc531800b04e4a12cce9d2f /community/php7/fix-tests-icu.patch
parent8231e3d86e62fbbf4b8b7bf5235e5f43d19c2e4a (diff)
downloadaports-b315e28b96f16c2a8973a55a736e1e35482203dd.tar.gz
aports-b315e28b96f16c2a8973a55a736e1e35482203dd.tar.bz2
aports-b315e28b96f16c2a8973a55a736e1e35482203dd.tar.xz
community/php7: upgrade to 7.4.7
Diffstat (limited to 'community/php7/fix-tests-icu.patch')
-rw-r--r--community/php7/fix-tests-icu.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/community/php7/fix-tests-icu.patch b/community/php7/fix-tests-icu.patch
new file mode 100644
index 0000000000..c2159b8923
--- /dev/null
+++ b/community/php7/fix-tests-icu.patch
@@ -0,0 +1,28 @@
+diff --git b/ext/intl/tests/locale_filter_matches3.phpt a/ext/intl/tests/locale_filter_matches3.phpt
+index 2816ba5e12..8c39d189eb 100644
+--- b/ext/intl/tests/locale_filter_matches3.phpt
++++ a/ext/intl/tests/locale_filter_matches3.phpt
+@@ -1,8 +1,8 @@
+ --TEST--
+-locale_filter_matches.phpt() ICU >= 51.2
++locale_filter_matches.phpt() ICU >= 51.2 && ICU < 67.1
+ --SKIPIF--
+ <?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
+-<?php if (version_compare(INTL_ICU_VERSION, '51.2') < 0) die('skip for ICU >= 51.2'); ?>
++<?php if (version_compare(INTL_ICU_VERSION, '67.1') >= 0) die('skip for ICU < 67.1'); ?>
+ --FILE--
+ <?php
+
+diff --git b/ext/intl/tests/locale_lookup_variant2.phpt a/ext/intl/tests/locale_lookup_variant2.phpt
+index 75a5350abf..af104e1ba8 100644
+--- b/ext/intl/tests/locale_lookup_variant2.phpt
++++ a/ext/intl/tests/locale_lookup_variant2.phpt
+@@ -2,7 +2,7 @@
+ locale_lookup.phpt()
+ --SKIPIF--
+ <?php if( !extension_loaded( 'intl' ) ) print 'skip'; ?>
+-<?php if (version_compare(INTL_ICU_VERSION, '51.2') < 0) die('skip for ICU >= 51.2'); ?>
++<?php if (version_compare(INTL_ICU_VERSION, '67.1') >= 0) die('skip for ICU < 67.1'); ?>
+ --FILE--
+ <?php
+