summaryrefslogtreecommitdiff
path: root/Build/source/libs/icu/icu-49.1-PATCHES/patch-04-FreeBSD
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/libs/icu/icu-49.1-PATCHES/patch-04-FreeBSD')
-rw-r--r--Build/source/libs/icu/icu-49.1-PATCHES/patch-04-FreeBSD23
1 files changed, 23 insertions, 0 deletions
diff --git a/Build/source/libs/icu/icu-49.1-PATCHES/patch-04-FreeBSD b/Build/source/libs/icu/icu-49.1-PATCHES/patch-04-FreeBSD
new file mode 100644
index 00000000000..11454e8cc9c
--- /dev/null
+++ b/Build/source/libs/icu/icu-49.1-PATCHES/patch-04-FreeBSD
@@ -0,0 +1,23 @@
+ Patch from ICU for ticket 9197
+
+diff -ur icu-49.rc.orig/source/common/unicode/platform.h icu-49.rc/source/common/unicode/platform.h
+--- icu-49.rc.orig/source/common/unicode/platform.h 2012-03-02 23:11:48.000000000 +0100
++++ icu-49.rc/source/common/unicode/platform.h 2012-03-17 10:45:22.000000000 +0100
+@@ -1,7 +1,7 @@
+ /*
+ ******************************************************************************
+ *
+-* Copyright (C) 1997-2011, International Business Machines
++* Copyright (C) 1997-2012, International Business Machines
+ * Corporation and others. All Rights Reserved.
+ *
+ ******************************************************************************
+@@ -131,7 +131,7 @@
+ # include <android/api-level.h>
+ #elif defined(linux) || defined(__linux__) || defined(__linux)
+ # define U_PLATFORM U_PF_LINUX
+-#elif defined(BSD)
++#elif defined(BSD) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
+ # define U_PLATFORM U_PF_BSD
+ #elif defined(sun) || defined(__sun)
+ /* Check defined(__SVR4) || defined(__svr4__) to distinguish Solaris from SunOS? */