Add tzcode package
This commit is contained in:
72
tzcode/tzcode-makefile.patch
Normal file
72
tzcode/tzcode-makefile.patch
Normal file
@@ -0,0 +1,72 @@
|
||||
--- src/Makefile.orig 2013-10-01 08:10:49.000000000 +0400
|
||||
+++ src/Makefile 2013-11-05 11:34:27.547600000 +0400
|
||||
@@ -20,7 +20,7 @@
|
||||
# make zonenames
|
||||
# to get a list of the values you can use for LOCALTIME.
|
||||
|
||||
-LOCALTIME= GMT
|
||||
+LOCALTIME= Europe/Berlin
|
||||
|
||||
# If you want something other than Eastern United States time as a template
|
||||
# for handling POSIX-style time zone environment variables,
|
||||
@@ -45,21 +45,21 @@
|
||||
|
||||
# Everything gets put in subdirectories of. . .
|
||||
|
||||
-TOPDIR= /usr/local
|
||||
+TOPDIR= /usr
|
||||
|
||||
# "Compiled" time zone information is placed in the "TZDIR" directory
|
||||
# (and subdirectories).
|
||||
# Use an absolute path name for TZDIR unless you're just testing the software.
|
||||
|
||||
TZDIR_BASENAME= zoneinfo
|
||||
-TZDIR= $(TOPDIR)/etc/$(TZDIR_BASENAME)
|
||||
+TZDIR= $(TOPDIR)/share/$(TZDIR_BASENAME)
|
||||
|
||||
# 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
|
||||
+ETCDIR= $(TOPDIR)/sbin
|
||||
|
||||
# If you "make INSTALL", the "date" command gets installed in. . .
|
||||
|
||||
@@ -67,7 +67,7 @@
|
||||
|
||||
# Manual pages go in subdirectories of. . .
|
||||
|
||||
-MANDIR= $(TOPDIR)/man
|
||||
+MANDIR= $(TOPDIR)/share/man
|
||||
|
||||
# Library functions are put in an archive in LIBDIR.
|
||||
|
||||
@@ -232,7 +232,7 @@
|
||||
# before the first Monday in January when a "%V" format is used and January 1
|
||||
# falls on a Friday, Saturday, or Sunday.
|
||||
|
||||
-CFLAGS=
|
||||
+CFLAGS+= -DHAVE_ADJTIME=0
|
||||
|
||||
# Linker flags. Default to $(LFLAGS) for backwards compatibility
|
||||
# to tzcode2012h and earlier.
|
||||
@@ -245,7 +245,7 @@
|
||||
ZFLAGS=
|
||||
|
||||
# The name of a Posix-compliant `awk' on your system.
|
||||
-AWK= awk
|
||||
+AWK= gawk
|
||||
|
||||
# The full path name of a Posix-compliant shell that supports the Korn shell's
|
||||
# 'select' statement, as an extension. These days, Bash is the most popular.
|
||||
@@ -295,7 +295,7 @@
|
||||
|
||||
###############################################################################
|
||||
|
||||
-cc= cc
|
||||
+cc= gcc
|
||||
CC= $(cc) -DTZDIR=\"$(TZDIR)\"
|
||||
|
||||
TZCSRCS= zic.c localtime.c asctime.c scheck.c ialloc.c
|
||||
Reference in New Issue
Block a user