projects
/
openwrt
/
staging
/
ynezz.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7d6427
)
busybox: Minor fix for glibc 2.21 compatibility
author
John Crispin
<john@openwrt.org>
Thu, 12 Mar 2015 19:50:23 +0000
(19:50 +0000)
committer
John Crispin
<john@openwrt.org>
Thu, 12 Mar 2015 19:50:23 +0000
(19:50 +0000)
Signed-off-by: Jeff Waugh <jdub@bethesignal.org>
SVN-Revision: 44700
package/utils/busybox/patches/250-date-k-flag.patch
patch
|
blob
|
history
diff --git
a/package/utils/busybox/patches/250-date-k-flag.patch
b/package/utils/busybox/patches/250-date-k-flag.patch
index d17d61f978ee89dd8123b16331cbfc932f309af6..f0dab26898a2f8be1633c06dc665e31ababe7693 100644
(file)
--- 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);