summaryrefslogtreecommitdiff
path: root/package/tzcode/patches/patch-localtime_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbrodkorb@conet.de>2015-02-10 09:55:46 +0100
committerWaldemar Brodkorb <wbrodkorb@conet.de>2015-02-10 09:55:46 +0100
commit7ebb4d69857eaa70ea3d4a55ffeb85502805dc96 (patch)
treee56cbb99aa76cfcdb1dd282d865c0c4136df48c2 /package/tzcode/patches/patch-localtime_c
parentfbddcd227c26995d2933517b9dbb2d7dd3d5c9b6 (diff)
Revert "split tzdata and tzcode, using multiple DISTFILES no longer supported"
This reverts commit 04c36baff7046c5efbef07d2d5df778950c3e40c.
Diffstat (limited to 'package/tzcode/patches/patch-localtime_c')
-rw-r--r--package/tzcode/patches/patch-localtime_c38
1 files changed, 0 insertions, 38 deletions
diff --git a/package/tzcode/patches/patch-localtime_c b/package/tzcode/patches/patch-localtime_c
deleted file mode 100644
index 548d10073..000000000
--- a/package/tzcode/patches/patch-localtime_c
+++ /dev/null
@@ -1,38 +0,0 @@
---- w-tzdata-2014d-1.orig/localtime.c 2014-01-18 07:42:22.000000000 +0100
-+++ w-tzdata-2014d-1/localtime.c 2014-05-30 09:09:35.130879741 +0200
-@@ -1329,7 +1329,7 @@ localsub(const time_t *const timep, cons
- }
-
- struct tm *
--localtime(const time_t *const timep)
-+localtime_tz(const time_t *const timep)
- {
- tzset();
- return localsub(timep, 0L, &tm);
-@@ -1550,7 +1550,7 @@ ctime(const time_t *const timep)
- ** to local time in the form of a string. It is equivalent to
- ** asctime(localtime(timer))
- */
-- return asctime(localtime(timep));
-+ return asctime(localtime_tz(timep));
- }
-
- char *
-@@ -1929,7 +1929,7 @@ time1(struct tm *const tmp,
- }
-
- time_t
--mktime(struct tm *const tmp)
-+mktime_tz(struct tm *const tmp)
- {
- tzset();
- return time1(tmp, localsub, 0L);
-@@ -1973,7 +1973,7 @@ timeoff(struct tm *const tmp, const long
- long
- gtime(struct tm *const tmp)
- {
-- const time_t t = mktime(tmp);
-+ const time_t t = mktime_tz(tmp);
-
- if (t == WRONG)
- return -1;