Add tzcode package

This commit is contained in:
Alexpux
2013-11-05 12:24:41 +04:00
parent 2b01bb7b1e
commit 4646825baa
8 changed files with 341 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
--- src/date.c.orig 2013-09-05 06:07:31.000000000 +0400
+++ src/date.c 2013-11-05 11:45:24.396200000 +0400
@@ -54,6 +54,8 @@
#define SECSPERMIN 60
#endif /* !defined SECSPERMIN */
+#undef OLD_TIME
+
extern char ** environ;
extern char * optarg;
extern int optind;
@@ -437,9 +439,11 @@
#include "netinet/in.h"
#include "netdb.h"
#define TSPTYPES
+#ifndef __CYGWIN__
#include "protocols/timed.h"
extern int logwtmp();
+#endif
#if HAVE_SETTIMEOFDAY == 1
#define settimeofday(t, tz) (settimeofday)(t)