summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
Diffstat (limited to 'Build')
-rw-r--r--Build/source/libs/icu/icu-49.1-PATCHES/ChangeLog5
-rw-r--r--Build/source/libs/icu/icu-49.1-PATCHES/patch-02-FreeBSD14
-rw-r--r--Build/source/libs/icu/icu-49.1/common/putilimp.h2
3 files changed, 21 insertions, 0 deletions
diff --git a/Build/source/libs/icu/icu-49.1-PATCHES/ChangeLog b/Build/source/libs/icu/icu-49.1-PATCHES/ChangeLog
index 74413962267..40e7801b383 100644
--- a/Build/source/libs/icu/icu-49.1-PATCHES/ChangeLog
+++ b/Build/source/libs/icu/icu-49.1-PATCHES/ChangeLog
@@ -1,3 +1,8 @@
+2012-04-24 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * patch-02-FreeBSD (new): Build fix for FreeBSD.
+ Reported by Nikola Lecic <nikola.lecic@anthesphoria.net>
+
2012-04-01 Peter Breitenlohner <peb@mppmu.mpg.de>
Reduced size of data/in/icudt49l.dat, removing
diff --git a/Build/source/libs/icu/icu-49.1-PATCHES/patch-02-FreeBSD b/Build/source/libs/icu/icu-49.1-PATCHES/patch-02-FreeBSD
new file mode 100644
index 00000000000..f6232e31374
--- /dev/null
+++ b/Build/source/libs/icu/icu-49.1-PATCHES/patch-02-FreeBSD
@@ -0,0 +1,14 @@
+ The FreeBSD declaration of timezone conflicts with Posix.
+
+diff -ur icu-49.1.orig/source/common/putilimp.h icu-49.1/source/common/putilimp.h
+--- icu-49.1.orig/source/common/putilimp.h 2012-03-21 18:35:16.000000000 +0100
++++ icu-49.1/source/common/putilimp.h 2012-04-24 11:38:09.000000000 +0200
+@@ -116,6 +116,8 @@
+ # define U_TIMEZONE __timezone
+ #elif U_PLATFORM_USES_ONLY_WIN32_API
+ # define U_TIMEZONE _timezone
++#elif U_PLATFORM == U_PF_BSD && !defined(__FreeBSD_kernel__)
++ /* not defined */
+ #elif U_PLATFORM == U_PF_OS400
+ /* not defined */
+ #else
diff --git a/Build/source/libs/icu/icu-49.1/common/putilimp.h b/Build/source/libs/icu/icu-49.1/common/putilimp.h
index cbec89bf590..112146a36c3 100644
--- a/Build/source/libs/icu/icu-49.1/common/putilimp.h
+++ b/Build/source/libs/icu/icu-49.1/common/putilimp.h
@@ -116,6 +116,8 @@ typedef size_t uintptr_t;
# define U_TIMEZONE __timezone
#elif U_PLATFORM_USES_ONLY_WIN32_API
# define U_TIMEZONE _timezone
+#elif U_PLATFORM == U_PF_BSD && !defined(__FreeBSD_kernel__)
+ /* not defined */
#elif U_PLATFORM == U_PF_OS400
/* not defined */
#else