summaryrefslogtreecommitdiff
path: root/time/gnyaclock
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2001-01-23 14:51:22 +0000
committerwiz <wiz@pkgsrc.org>2001-01-23 14:51:22 +0000
commitd7b7131831676e7a8653e952d36f6113dfe864f9 (patch)
treeba0619ff9ae16bb4b3eb38a8982740d8dd3da484 /time/gnyaclock
parentbc25dec5c6632d852768b3a20df0697c9e4d3087 (diff)
downloadpkgsrc-d7b7131831676e7a8653e952d36f6113dfe864f9.tar.gz
Fix build problem on alpha. Patch provided by SUNAGAWA Keiki.
Diffstat (limited to 'time/gnyaclock')
-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;