summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2007-01-29 22:22:59 +0000
committerEric Andersen <andersen@codepoet.org>2007-01-29 22:22:59 +0000
commit23c76989343dbe42929ad4317768eaff8a991ed5 (patch)
tree0867cdad06888c0e1d7ab679d38c1761c1fce86d
parenta96bd37fb4e6252948dd1d92b58c33a9ba22c3a3 (diff)
fix broken spot caused by my having checked in the wrong dst patch for 0.9.28
-rw-r--r--toolchain/uClibc/uClibc-0.9.28.1-time-locale.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/toolchain/uClibc/uClibc-0.9.28.1-time-locale.patch b/toolchain/uClibc/uClibc-0.9.28.1-time-locale.patch
new file mode 100644
index 000000000..f449ad6a1
--- /dev/null
+++ b/toolchain/uClibc/uClibc-0.9.28.1-time-locale.patch
@@ -0,0 +1,15 @@
+Index: libc/misc/time/time.c
+===================================================================
+--- a/libc/misc/time/time.c (revision 17534)
++++ b/libc/misc/time/time.c (revision 17647)
+@@ -158,7 +158,9 @@
+ #endif
+
+ #if defined (L_tzset) || defined (L_localtime_r) || defined(L_strftime) || \
+- defined(L__time_mktime) || defined(L__time_mktime_tzi)
++ defined(L__time_mktime) || defined(L__time_mktime_tzi) || \
++ ((defined(L_strftime) || defined(L_strftime_l)) && \
++ defined(__UCLIBC_HAS_XLOCALE__))
+
+ void _time_tzset (int);
+