summaryrefslogtreecommitdiff
path: root/Build/source/libs/icu/TLpatches
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/icu/TLpatches')
-rw-r--r--Build/source/libs/icu/TLpatches/ChangeLog8
-rw-r--r--Build/source/libs/icu/TLpatches/patch-24-simulator13
2 files changed, 20 insertions, 1 deletions
diff --git a/Build/source/libs/icu/TLpatches/ChangeLog b/Build/source/libs/icu/TLpatches/ChangeLog
index dfffb6cd22f..65f6ed5f9b7 100644
--- a/Build/source/libs/icu/TLpatches/ChangeLog
+++ b/Build/source/libs/icu/TLpatches/ChangeLog
@@ -1,6 +1,12 @@
+2021-03-01 Mojca Miklavec <mojca.miklavec.lists@gmail.com>
+
+ * patch-24-simulator: new patch.
+ https://github.com/unicode-org/icu/pull/1608
+ https://unicode-org.atlassian.net/browse/ICU-21513
+
2020-01-13 Karl Berry <karl@freefriends.org>
- * patch-04-data-makefile: new Makefilepatch needed on Solaris
+ * patch-04-data-makefile: new Makefile patch needed on Solaris
found by Mojca, from:
https://unicode-org.atlassian.net/browse/ICU-20852
diff --git a/Build/source/libs/icu/TLpatches/patch-24-simulator b/Build/source/libs/icu/TLpatches/patch-24-simulator
new file mode 100644
index 00000000000..accc7d749c3
--- /dev/null
+++ b/Build/source/libs/icu/TLpatches/patch-24-simulator
@@ -0,0 +1,13 @@
+Index: putil.cpp
+===================================================================
+--- putil.cpp (revision 58009)
++++ putil.cpp (working copy)
+@@ -1361,7 +1361,7 @@ uprv_pathIsAbsolute(const char *path)
+
+ /* Backup setting of ICU_DATA_DIR_PREFIX_ENV_VAR
+ (needed for some Darwin ICU build environments) */
+-#if U_PLATFORM_IS_DARWIN_BASED && TARGET_OS_SIMULATOR
++#if U_PLATFORM_IS_DARWIN_BASED && defined(TARGET_OS_SIMULATOR) && TARGET_OS_SIMULATOR
+ # if !defined(ICU_DATA_DIR_PREFIX_ENV_VAR)
+ # define ICU_DATA_DIR_PREFIX_ENV_VAR "IPHONE_SIMULATOR_ROOT"
+ # endif