crosstool-ng/patches/uClibc/0.9.28.1/003-time-locale.patch
Yann E. MORIN" 1906cf93f8 Add the full crosstool-NG sources to the new repository of its own.
You might just say: 'Yeah! crosstool-NG's got its own repo!".
Unfortunately, that's because the previous repo got damaged beyond repair and I had no backup.
That means I'm putting backups in place in the afternoon.
That also means we've lost history... :-(
2007-02-24 11:00:05 +00:00

16 lines
540 B
Diff

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);