Version 4.0.0.1, tag libreoffice-4.0.0.1
[LibreOffice.git] / icu / icu4c-bsd.patch
blob78f8ca2758a92a8b7be31dd9f4d3ec51a597432e
1 --- misc/icu/source/common/putilimp.h 2012-06-01 10:52:52.000000000 -0400
2 +++ misc/build/icu/source/common/putilimp.h 2012-08-21 13:32:58.000000000 -0400
3 @@ -117,6 +117,8 @@
4 # define U_TIMEZONE __timezone
5 #elif U_PLATFORM_USES_ONLY_WIN32_API
6 # define U_TIMEZONE _timezone
7 +#elif U_PLATFORM == U_PF_BSD && !defined(__NetBSD__)
8 + /* not defined */
9 #elif U_PLATFORM == U_PF_OS400
10 /* not defined */
11 #else
12 --- misc/icu/source/common/unicode/platform.h 2012-08-21 16:53:20.957449000 -0400
13 +++ misc/build/icu/source/common/unicode/platform.h 2012-08-21 17:02:16.000000000 -0400
14 @@ -131,7 +131,7 @@
15 # include <android/api-level.h>
16 #elif defined(linux) || defined(__linux__) || defined(__linux)
17 # define U_PLATFORM U_PF_LINUX
18 -#elif defined(BSD) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__)
19 +#elif defined(BSD) || defined(__FreeBSD__) || defined(__FreeBSD_kernel__) || defined(__NetBSD__) || defined(__OpenBSD__)
20 # define U_PLATFORM U_PF_BSD
21 #elif defined(sun) || defined(__sun)
22 /* Check defined(__SVR4) || defined(__svr4__) to distinguish Solaris from SunOS? */