[tz] Bug report for the tzcode2014e.tar.gz, patch included.

Paul Eggert eggert at cs.ucla.edu
Sun Jul 20 02:22:40 UTC 2014


Thanks, I installed the attached patch into the experimental version.
-------------- next part --------------
From 13454dc50c34159fa5549864414c95ccf173a3d1 Mon Sep 17 00:00:00 2001
From: Paul Eggert <eggert at cs.ucla.edu>
Date: Sat, 19 Jul 2014 19:19:48 -0700
Subject: [PATCH] * Makefile (TZCOBJS), NEWS: Remove localtime.o, asctime.o.

(Thanks to John Cochran.)
---
 Makefile | 2 +-
 NEWS     | 5 +++++
 2 files changed, 6 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index 68388b3..e785406 100644
--- a/Makefile
+++ b/Makefile
@@ -317,7 +317,7 @@ AR=		ar
 # ':' on typical hosts; 'ranlib' on the ancient hosts that still need ranlib.
 RANLIB=		:
 
-TZCOBJS=	zic.o localtime.o asctime.o scheck.o ialloc.o
+TZCOBJS=	zic.o scheck.o ialloc.o
 TZDOBJS=	zdump.o localtime.o ialloc.o asctime.o
 DATEOBJS=	date.o localtime.o strftime.o asctime.o
 LIBSRCS=	localtime.c asctime.c difftime.c
diff --git a/NEWS b/NEWS
index 1845ee8..bb2eee7 100644
--- a/NEWS
+++ b/NEWS
@@ -157,6 +157,11 @@ Unreleased, experimental changes
 
     Some lint has been removed when using GCC_DEBUG_FLAGS with GCC 4.9.0.
 
+  Changes affecting build procedure
+
+    'zic' no longer links in localtime.o and asctime.o, as they're not needed.
+    (Thanks to John Cochran.)
+
   Changes affecting documentation and commentary
 
     The 'Theory' file documents legacy names, the longstanding
-- 
1.9.1



More information about the tz mailing list