diff options
author | Timo Teräs <timo.teras@iki.fi> | 2014-06-11 14:19:09 +0300 |
---|---|---|
committer | Timo Teräs <timo.teras@iki.fi> | 2014-06-12 08:27:37 +0300 |
commit | b1e8c97877c096085d89e57da7859b28bb995022 (patch) | |
tree | 04e9af73cdc6278fa1ef8d0dc79bbec45f8c3d3f /main/musl/2001-default-to-localtime-timezone-if-TZ-is-undefined.patch | |
parent | 382912ec55c9dcf411764579a173eb0ece6d4445 (diff) | |
download | aports-b1e8c97877c096085d89e57da7859b28bb995022.tar.bz2 aports-b1e8c97877c096085d89e57da7859b28bb995022.tar.xz |
main/musl: upgrade to snapshot of 2014-06-11
* migrate to /etc/localtime (instead of /etc/zoneinfo/localtime)
this is the upstream way now
* add replaces to uclibc-utils for smoother upgrades from uclibc
Diffstat (limited to 'main/musl/2001-default-to-localtime-timezone-if-TZ-is-undefined.patch')
-rw-r--r-- | main/musl/2001-default-to-localtime-timezone-if-TZ-is-undefined.patch | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/main/musl/2001-default-to-localtime-timezone-if-TZ-is-undefined.patch b/main/musl/2001-default-to-localtime-timezone-if-TZ-is-undefined.patch deleted file mode 100644 index 10e87bf473..0000000000 --- a/main/musl/2001-default-to-localtime-timezone-if-TZ-is-undefined.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 4776cf82a9367ff51883af243a219d45da35d3b5 Mon Sep 17 00:00:00 2001 -From: =?UTF-8?q?Timo=20Ter=C3=A4s?= <timo.teras@iki.fi> -Date: Wed, 23 Apr 2014 09:11:46 +0300 -Subject: [PATCH] default to localtime timezone if TZ is undefined - -the rest of the logic fallsback to GMT if it does not exist -(since musl commit 0f2315b4af1c58cbfb7c7f9da69b495cd146cc18) ---- - src/time/__tz.c | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/time/__tz.c b/src/time/__tz.c -index 6d7173c..4184b60 100644 ---- a/src/time/__tz.c -+++ b/src/time/__tz.c -@@ -128,7 +128,7 @@ static void do_tzset() - "/usr/share/zoneinfo/\0/share/zoneinfo/\0/etc/zoneinfo/\0"; - - s = getenv("TZ"); -- if (!s || !*s) s = __gmt; -+ if (!s || !*s) s = ":localtime"; - - if (old_tz && !strcmp(s, old_tz)) return; - --- -1.9.2 - |