tzdata: updated to version 2013d

This commit is contained in:
Matt Housh 2013-07-08 09:50:45 -05:00
parent 3b9bfae614
commit 32ce9b5987
3 changed files with 18 additions and 18 deletions

View File

@ -1,3 +1,3 @@
30ad167c1f8a84bfd697147a603e3a6a tzcode-makefile.patch
69d333d829802af4475707e32fa01681 tzcode2013c.tar.gz
b5062217a2dea6823dd69b4dda97b249 tzdata2013c.tar.gz
f30150b95f6e7fbb8ccc04f26955d300 tzcode-makefile.patch
4616a9560270f180eeb9a08540636890 tzcode2013d.tar.gz
65b6818162230fc02f86f293376c73df tzdata2013d.tar.gz

View File

@ -3,7 +3,7 @@
# Maintainer: CRUX System Team, core-ports at crux dot nu
name=tzdata
version=2013c
version=2013d
release=1
source=(ftp://ftp.iana.org/tz/releases/$name$version.tar.gz
ftp://ftp.iana.org/tz/releases/tzcode$version.tar.gz

View File

@ -1,10 +1,7 @@
# http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/sys-libs/timezone-data/files/timezone-data-2012a-makefile.patch
# Patch reapplied and fixed for tzcode 2013a
diff -Nru tzcode.orig/Makefile tzcode/Makefile
--- tzcode.orig/Makefile 2013-02-27 18:20:35.000000000 +0100
+++ tzcode/Makefile 2013-03-03 10:03:29.000000000 +0100
@@ -45,17 +45,17 @@
diff -urN tzcode.orig/Makefile tzcode/Makefile
--- tzcode.orig/Makefile 2013-07-05 09:38:01.000000000 -0500
+++ tzcode/Makefile 2013-07-08 09:21:43.660000054 -0500
@@ -45,20 +45,20 @@
# Everything gets put in subdirectories of. . .
@ -18,27 +15,30 @@ diff -Nru tzcode.orig/Makefile tzcode/Makefile
-TZDIR= $(TOPDIR)/etc/zoneinfo
+TZDIR= $(TOPDIR)/share/zoneinfo
# Types to try, as an alternative to time_t. int64_t should be first.
TIME_T_ALTERNATIVES= int64_t int32_t uint32_t uint64_t
# The "tzselect", "zic", and "zdump" commands get installed in. . .
-ETCDIR= $(TOPDIR)/etc
+SBINDIR= $(TOPDIR)/sbin
+SBINDIR= $(TOPDIR)/sbin
# If you "make INSTALL", the "date" command gets installed in. . .
@@ -289,8 +289,10 @@
@@ -292,8 +292,10 @@
###############################################################################
-cc= cc
-CC= $(cc) -DTZDIR=\"$(TZDIR)\"
+CC+= -DTZDIR=\"$(TZDIR)\"
+CC+= -DTZDIR=\"$(TZDIR)\"
+ifeq ($(NLS),1)
+CC += -DHAVE_GETTEXT=1 -DTZ_DOMAIN=\"libc\"
+endif
TZCSRCS= zic.c localtime.c asctime.c scheck.c ialloc.c
TZCOBJS= zic.o localtime.o asctime.o scheck.o ialloc.o
@@ -331,13 +333,15 @@
@@ -334,13 +336,15 @@
ALL: all date
@ -57,7 +57,7 @@ diff -Nru tzcode.orig/Makefile tzcode/Makefile
-mkdir $(TOPDIR) $(MANDIR) \
$(MANDIR)/man3 $(MANDIR)/man5 $(MANDIR)/man8
-rm -f $(MANDIR)/man3/newctime.3 \
@@ -347,8 +351,6 @@
@@ -350,8 +354,6 @@
$(MANDIR)/man8/zdump.8 \
$(MANDIR)/man8/zic.8
cp newctime.3 newtzset.3 $(MANDIR)/man3/.
@ -66,7 +66,7 @@ diff -Nru tzcode.orig/Makefile tzcode/Makefile
INSTALL: ALL install date.1
-mkdir $(TOPDIR) $(BINDIR)
@@ -388,9 +390,9 @@
@@ -391,9 +393,9 @@
# You must replace all of $(TZDIR) to switch from not using leap seconds
# to using them, or vice versa.
other_two: zic leapseconds $(TDATA)
@ -78,7 +78,7 @@ diff -Nru tzcode.orig/Makefile tzcode/Makefile
posix_right: posix_only other_two
@@ -418,7 +420,7 @@
@@ -421,7 +423,7 @@
<$? >$@
chmod +x $@