pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/time/catclock make this build on NetBSD again



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ca640d23992a
branches:  trunk
changeset: 400540:ca640d23992a
user:      drochner <drochner%pkgsrc.org@localhost>
date:      Wed Oct 21 18:08:10 2009 +0000

description:
make this build on NetBSD again

diffstat:

 time/catclock/distinfo         |   4 ++--
 time/catclock/patches/patch-ad |  20 ++++++++++++++------
 2 files changed, 16 insertions(+), 8 deletions(-)

diffs (71 lines):

diff -r 21b608488825 -r ca640d23992a time/catclock/distinfo
--- a/time/catclock/distinfo    Wed Oct 21 18:04:55 2009 +0000
+++ b/time/catclock/distinfo    Wed Oct 21 18:08:10 2009 +0000
@@ -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 @@
 SHA1 (patch-aa) = a42cdf9512e90501135ff66b598f580ddc449cdf
 SHA1 (patch-ab) = 2a05de0fadbe231825d7618f88133fc9fdcb232a
 SHA1 (patch-ac) = 3d115c8b0cf110f40f2322c5bc5cce37ad57089c
-SHA1 (patch-ad) = 95fb05cc0611e77cd69aef55fd0299720c735330
+SHA1 (patch-ad) = e95d3e380eb25cb945e561dd601989912233d8f2
diff -r 21b608488825 -r ca640d23992a time/catclock/patches/patch-ad
--- a/time/catclock/patches/patch-ad    Wed Oct 21 18:04:55 2009 +0000
+++ b/time/catclock/patches/patch-ad    Wed Oct 21 18:08:10 2009 +0000
@@ -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 @@
  
  #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 @@
  
  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 @@
        
        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 @@
      
      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()
  {



Home | Main Index | Thread Index | Old Index