package/kernel: create packages for the LED Timer/Default ON triggers
[openwrt.git] / toolchain / eglibc / patches / 2.14 / 110-fix_cross_zic.patch
1 --- a/libc/timezone/zic.c
2 +++ b/libc/timezone/zic.c
3 @@ -8,6 +8,8 @@ static char elsieid[] = "@(#)zic.c 8.19"
4 #ifdef CROSS_ZIC
5 #define REPORT_BUGS_TO ""
6 #define PKGVERSION ""
7 +#undef _
8 +#define _(X) (X)
9 #else
10 #include "config.h"
11 #endif
12 @@ -490,6 +492,7 @@ char * argv[];
13 #ifdef unix
14 (void) umask(umask(S_IWGRP | S_IWOTH) | (S_IWGRP | S_IWOTH));
15 #endif /* defined unix */
16 +#ifndef CROSS_ZIC
17 #if HAVE_GETTEXT
18 (void) setlocale(LC_ALL, "");
19 #ifdef TZ_DOMAINDIR
20 @@ -497,6 +500,7 @@ char * argv[];
21 #endif /* defined TEXTDOMAINDIR */
22 (void) textdomain(TZ_DOMAIN);
23 #endif /* HAVE_GETTEXT */
24 +#endif
25 progname = argv[0];
26 if (TYPE_BIT(zic_t) < 64) {
27 (void) fprintf(stderr, "%s: %s\n", progname,
This page took 0.048233 seconds and 5 git commands to generate.