From: John Crispin Date: Thu, 12 Mar 2015 19:50:23 +0000 (+0000) Subject: busybox: Minor fix for glibc 2.21 compatibility X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=eff1859f8e75d7d7cc3d07d2bcb5952ab214b8a0;p=openwrt%2Fstaging%2Fstintel.git busybox: Minor fix for glibc 2.21 compatibility Signed-off-by: Jeff Waugh SVN-Revision: 44700 --- diff --git a/package/utils/busybox/patches/250-date-k-flag.patch b/package/utils/busybox/patches/250-date-k-flag.patch index d17d61f978..f0dab26898 100644 --- a/package/utils/busybox/patches/250-date-k-flag.patch +++ b/package/utils/busybox/patches/250-date-k-flag.patch @@ -67,7 +67,7 @@ + settimeofday(NULL, &tz); + + memset(&tz, 0, sizeof(tz)); -+#ifdef __USE_BSD ++#ifdef __USE_MISC + tz.tz_minuteswest = -(tm_time.tm_gmtoff / 60); +#else + tz.tz_minuteswest = -(tm_time.__tm_gmtoff / 60);