summaryrefslogtreecommitdiff
path: root/package/tzdata/patches/patch-date_c
diff options
context:
space:
mode:
authorPhil Sutter <phil.sutter@viprinet.com>2012-01-12 19:36:18 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2012-01-14 17:53:55 +0100
commitfea4b6d49c29d4dae3dc552a88f8154b14909bd9 (patch)
tree49aa3b5fdf9f6def551a8b902fcd4f40a7541521 /package/tzdata/patches/patch-date_c
parent6e8414d7d1a19d3012279cfee5bb9aaa879819f3 (diff)
tzdata: fix somehow broken date binary
Diffstat (limited to 'package/tzdata/patches/patch-date_c')
-rw-r--r--package/tzdata/patches/patch-date_c11
1 files changed, 11 insertions, 0 deletions
diff --git a/package/tzdata/patches/patch-date_c b/package/tzdata/patches/patch-date_c
new file mode 100644
index 000000000..dbdeb3aed
--- /dev/null
+++ b/package/tzdata/patches/patch-date_c
@@ -0,0 +1,11 @@
+strchr() is false defined here
+--- w-tzdata-2010o-1.orig/date.c 2010-10-12 18:36:51.000000000 +0200
++++ w-tzdata-2010o-1/date.c 2011-02-28 00:57:57.274000374 +0100
+@@ -69,7 +69,6 @@ extern char * getlogin();
+ extern time_t mktime();
+ extern char * optarg;
+ extern int optind;
+-extern char * strchr();
+ extern time_t time();
+ extern char * tzname[2];
+