summaryrefslogtreecommitdiff
path: root/time/saytime/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'time/saytime/patches/patch-ab')
-rw-r--r--time/saytime/patches/patch-ab17
1 files changed, 17 insertions, 0 deletions
diff --git a/time/saytime/patches/patch-ab b/time/saytime/patches/patch-ab
new file mode 100644
index 00000000000..4fb78535286
--- /dev/null
+++ b/time/saytime/patches/patch-ab
@@ -0,0 +1,17 @@
+$NetBSD: patch-ab,v 1.1.1.1 2005/07/07 21:23:21 is Exp $
+
+--- saytime.c.orig 1995-11-11 02:04:52.000000000 +0100
++++ saytime.c
+@@ -497,10 +497,10 @@ saynumber( int n, int leadingzero )
+
+ main( int argc, char* argv )
+ {
+- long clock;
++ time_t clock;
+ struct tm* t;
+
+- clock = time( (long*) 0 );
++ clock = time( 0 );
+ t = localtime( &clock );
+
+ sayphrase( PH_THE_TIME_IS );