summaryrefslogtreecommitdiff
path: root/time/catclock
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2009-10-21 18:08:10 +0000
committerdrochner <drochner@pkgsrc.org>2009-10-21 18:08:10 +0000
commitf29244be1f572ce94c7fc3efd727786b1458f2ab (patch)
tree2e81d85fe3a9b141a4ffbdee88a14e19459355f3 /time/catclock
parentbc980465cd1d2f7548bdb053b154014760ece65c (diff)
downloadpkgsrc-f29244be1f572ce94c7fc3efd727786b1458f2ab.tar.gz
make this build on NetBSD again
Diffstat (limited to 'time/catclock')
-rw-r--r--time/catclock/distinfo4
-rw-r--r--time/catclock/patches/patch-ad20
2 files changed, 16 insertions, 8 deletions
diff --git a/time/catclock/distinfo b/time/catclock/distinfo
index 07946448232..4437230a014 100644
--- a/time/catclock/distinfo
+++ b/time/catclock/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.9 2007/08/08 21:44:14 joerg Exp $
+$NetBSD: distinfo,v 1.10 2009/10/21 18:08:10 drochner Exp $
SHA1 (catclock.zip) = 0e977f080968067c4232072aa88d919e3f5daf84
RMD160 (catclock.zip) = 6caf81ec08f5c237902aaf9999e642300e4517c2
@@ -6,4 +6,4 @@ Size (catclock.zip) = 180008 bytes
SHA1 (patch-aa) = a42cdf9512e90501135ff66b598f580ddc449cdf
SHA1 (patch-ab) = 2a05de0fadbe231825d7618f88133fc9fdcb232a
SHA1 (patch-ac) = 3d115c8b0cf110f40f2322c5bc5cce37ad57089c
-SHA1 (patch-ad) = 95fb05cc0611e77cd69aef55fd0299720c735330
+SHA1 (patch-ad) = e95d3e380eb25cb945e561dd601989912233d8f2
diff --git a/time/catclock/patches/patch-ad b/time/catclock/patches/patch-ad
index 7a21d2c89fa..25f814b0522 100644
--- a/time/catclock/patches/patch-ad
+++ b/time/catclock/patches/patch-ad
@@ -1,6 +1,6 @@
-$NetBSD: patch-ad,v 1.2 2007/08/08 21:44:14 joerg Exp $
+$NetBSD: patch-ad,v 1.3 2009/10/21 18:08:10 drochner Exp $
---- alarm.c.orig 1995-05-21 16:07:00.000000000 +0000
+--- alarm.c.orig 1995-05-21 16:07:00.000000000 +0200
+++ alarm.c
@@ -1,7 +1,5 @@
#include <stdio.h>
@@ -11,7 +11,15 @@ $NetBSD: patch-ad,v 1.2 2007/08/08 21:44:14 joerg Exp $
#include <signal.h>
#ifndef VMS
-@@ -92,7 +90,9 @@ extern GC gc;
+@@ -11,6 +9,7 @@
+ #endif
+ #include <ctype.h>
+ #include <sys/time.h>
++#include <time.h>
+
+ #ifdef VMS
+ #include "unix_time.h"
+@@ -92,7 +91,9 @@ extern GC gc;
static XmFontList xmFontList;
@@ -22,7 +30,7 @@ $NetBSD: patch-ad,v 1.2 2007/08/08 21:44:14 joerg Exp $
void InitBellAlarm(win, width, height, fontInfo, fontList, fg, bg, state, on)
Window win;
-@@ -159,7 +159,6 @@ void DrawBell(flash)
+@@ -159,7 +160,6 @@ void DrawBell(flash)
bell_width, bell_height,
bellX, bellY, 0x1);
} else {
@@ -30,7 +38,7 @@ $NetBSD: patch-ad,v 1.2 2007/08/08 21:44:14 joerg Exp $
HideBell();
}
-@@ -181,7 +180,6 @@ static void AlarmAnnounce()
+@@ -181,7 +181,6 @@ static void AlarmAnnounce()
int i, w;
char buf[BUFSIZ];
struct itimerval tv;
@@ -38,7 +46,7 @@ $NetBSD: patch-ad,v 1.2 2007/08/08 21:44:14 joerg Exp $
strcpy(buf, nextAlarm.alarmAnnounce ? nextAlarm.alarmAnnounce : "alarm");
strcat(buf, " ... ");
-@@ -442,7 +440,6 @@ void SetAlarm(file)
+@@ -442,7 +441,6 @@ void SetAlarm(file)
static void ResetAlarm()
{