summaryrefslogtreecommitdiff
path: root/icu/icu4c-macosx.patch
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2012-05-11 12:25:49 +0100
committerCaolán McNamara <caolanm@redhat.com>2012-05-11 12:26:15 +0100
commit4fc79b3551b53cb90d83f9a67d13e2abdae0cf7d (patch)
tree07f0b4a6051f3a5a544b244ec9d1f184dfc15712 /icu/icu4c-macosx.patch
parentf35b5d0903d270da04a5a3262ab1f6a513cd9fb6 (diff)
try and bodge macosx 10.4 build
Change-Id: Ic862cbfcdc1742d905a59862e63742b581752bfe
Diffstat (limited to 'icu/icu4c-macosx.patch')
-rw-r--r--icu/icu4c-macosx.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/icu/icu4c-macosx.patch b/icu/icu4c-macosx.patch
new file mode 100644
index 000000000000..d685a5fbc24a
--- /dev/null
+++ b/icu/icu4c-macosx.patch
@@ -0,0 +1,14 @@
+--- misc/icu/source/common/putil.cpp
++++ misc/build/icu/source/common/putil.cpp
+@@ -975,6 +975,11 @@
+ return result;
+ }
+ #endif
++
++#if U_PLATFORM_IS_DARWIN_BASED
++extern struct tm *localtime_r(const time_t *, struct tm *);
++#endif
++
+ U_CAPI const char* U_EXPORT2
+ uprv_tzname(int n)
+ {