aboutsummaryrefslogtreecommitdiffstats
path: root/package
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2015-03-12 19:50:23 +0000
committerJohn Crispin <blogic@openwrt.org>2015-03-12 19:50:23 +0000
commita00f7e5cb5fbb3dd1486a3623d2b3428a6b07a79 (patch)
treeba839e2c07403901619d26df9821cef7a812af8e /package
parentd228cb877fcb92687f1a53405bbff9a4529c9c4a (diff)
downloadmaster-187ad058-a00f7e5cb5fbb3dd1486a3623d2b3428a6b07a79.tar.gz
master-187ad058-a00f7e5cb5fbb3dd1486a3623d2b3428a6b07a79.tar.bz2
master-187ad058-a00f7e5cb5fbb3dd1486a3623d2b3428a6b07a79.zip
busybox: Minor fix for glibc 2.21 compatibility
Signed-off-by: Jeff Waugh <jdub@bethesignal.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@44700 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'package')
-rw-r--r--package/utils/busybox/patches/250-date-k-flag.patch2
1 files changed, 1 insertions, 1 deletions
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);