busybox: Minor fix for glibc 2.21 compatibility
authorblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 12 Mar 2015 19:50:23 +0000 (19:50 +0000)
committerblogic <blogic@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Thu, 12 Mar 2015 19:50:23 +0000 (19:50 +0000)
Signed-off-by: Jeff Waugh <jdub@bethesignal.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44700 3c298f89-4303-0410-b956-a3cf2f4a3e73

package/utils/busybox/patches/250-date-k-flag.patch

index d17d61f..f0dab26 100644 (file)
@@ -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);