summaryrefslogtreecommitdiff
path: root/time/gcal
diff options
context:
space:
mode:
Diffstat (limited to 'time/gcal')
-rw-r--r--time/gcal/Makefile4
-rw-r--r--time/gcal/distinfo4
-rw-r--r--time/gcal/patches/patch-aa17
-rw-r--r--time/gcal/patches/patch-ab19
4 files changed, 41 insertions, 3 deletions
diff --git a/time/gcal/Makefile b/time/gcal/Makefile
index 673238157df..3dead5f62a3 100644
--- a/time/gcal/Makefile
+++ b/time/gcal/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.7 2004/04/11 09:23:06 snj Exp $
+# $NetBSD: Makefile,v 1.8 2004/09/10 03:34:29 atatat Exp $
#
DISTNAME= gcal-3.01
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= time
MASTER_SITES= ${MASTER_SITE_GNU:=gcal/}
diff --git a/time/gcal/distinfo b/time/gcal/distinfo
index 6b6eabfec25..19ed6a26783 100644
--- a/time/gcal/distinfo
+++ b/time/gcal/distinfo
@@ -1,4 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2003/06/14 23:21:46 atatat Exp $
+$NetBSD: distinfo,v 1.2 2004/09/10 03:34:29 atatat Exp $
SHA1 (gcal-3.01.tar.gz) = 2f8dda0f759760c38beccd07fb73b18b392d6920
Size (gcal-3.01.tar.gz) = 2371244 bytes
+SHA1 (patch-aa) = 4dd11184acc9e4f1d9dcba796a14b68adb012a87
+SHA1 (patch-ab) = eb85707cf22603be7ba43a3e1478b510c8d45645
diff --git a/time/gcal/patches/patch-aa b/time/gcal/patches/patch-aa
new file mode 100644
index 00000000000..bb06baebdd8
--- /dev/null
+++ b/time/gcal/patches/patch-aa
@@ -0,0 +1,17 @@
+$NetBSD: patch-aa,v 1.1 2004/09/10 03:34:29 atatat Exp $
+
+Make declared prototype match function declaration.
+
+--- src/hd-astro.h.orig 2000-06-13 21:00:01.000000000 -0400
++++ src/hd-astro.h
+@@ -79,8 +79,8 @@ equinox_solstice __P_((const double lon
+ int *day,
+ int *month,
+ int *year,
+- int hour,
+- int min));
++ const int hour,
++ const int min));
+ EXPORT double
+ delta_t __P_((const int day,
+ const int month,
diff --git a/time/gcal/patches/patch-ab b/time/gcal/patches/patch-ab
new file mode 100644
index 00000000000..316e2b46611
--- /dev/null
+++ b/time/gcal/patches/patch-ab
@@ -0,0 +1,19 @@
+$NetBSD: patch-ab,v 1.1 2004/09/10 03:34:29 atatat Exp $
+
+Make declared prototype match function declaration.
+
+--- src/rc-astro.h.orig 2000-06-13 21:00:01.000000000 -0400
++++ src/rc-astro.h
+@@ -81,9 +81,9 @@ gd_latitude2gc_latitude __P_((const doub
+ EXPORT double
+ sun_rise_set __P_((const Aevent_enum event,
+ const Bool is_limited,
+- int day,
+- int month,
+- int year,
++ const int day,
++ const int month,
++ const int year,
+ Coor_struct *coordinates));
+ EXPORT double
+ moon_rise_set __P_((const Aevent_enum event,