summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--time/gnyaclock/files/patch-sum3
-rw-r--r--time/gnyaclock/patches/patch-ab14
2 files changed, 16 insertions, 1 deletions
diff --git a/time/gnyaclock/files/patch-sum b/time/gnyaclock/files/patch-sum
index d1166979f6f..286eba0bf33 100644
--- a/time/gnyaclock/files/patch-sum
+++ b/time/gnyaclock/files/patch-sum
@@ -1,3 +1,4 @@
-$NetBSD: patch-sum,v 1.1.1.1 2000/12/18 12:35:48 kei Exp $
+$NetBSD: patch-sum,v 1.2 2001/01/23 14:51:22 wiz Exp $
MD5 (patch-aa) = ed2c4a747adb0fa83c3b94ff6d18ccb8
+MD5 (patch-ab) = 2d6b01f10ae720014337b228520ecf7e
diff --git a/time/gnyaclock/patches/patch-ab b/time/gnyaclock/patches/patch-ab
new file mode 100644
index 00000000000..53773831b7f
--- /dev/null
+++ b/time/gnyaclock/patches/patch-ab
@@ -0,0 +1,14 @@
+$NetBSD: patch-ab,v 1.1 2001/01/23 14:51:23 wiz Exp $
+
+--- Clock.c.orig Fri Jan 6 16:20:00 1995
++++ Clock.c
+@@ -598,8 +598,7 @@
+ */
+ static int current_time()
+ {
+- long time();
+- long cl = time(0);
++ time_t cl = time(0);
+ struct tm *lt = localtime(&cl);
+
+ return 3600*lt->tm_hour + 60*lt->tm_min + lt->tm_sec;