[OpenWrt-Devel] [PATCH 2/2] busybox: Minor fix for glibc 2.21 compatibility

Jeff Waugh jdub at bethesignal.org
Wed Mar 11 13:17:55 EDT 2015


busybox: Minor fix for glibc 2.21 compatibility

Signed-off-by: Jeff Waugh <jdub at bethesignal.org>
---
 package/utils/busybox/patches/250-date-k-flag.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/package/utils/busybox/patches/250-date-k-flag.patch b/package/utils/busybox/patches/250-date-k-flag.patch
index d17d61f..f0dab26 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);
-- 
1.9.1
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel



More information about the openwrt-devel mailing list