diff options
author | atatat <atatat@pkgsrc.org> | 2004-09-10 03:34:29 +0000 |
---|---|---|
committer | atatat <atatat@pkgsrc.org> | 2004-09-10 03:34:29 +0000 |
commit | 3f99292002fa5becee195ca0d0411669eec54550 (patch) | |
tree | d180ea9d4b7f04fa045200fc933e23a6eb747954 /time | |
parent | 93bc03dc7ca7ff5c9ebefaeaf1b275056b50ff61 (diff) | |
download | pkgsrc-3f99292002fa5becee195ca0d0411669eec54550.tar.gz |
Patch a couple of prototypes so that they more properly match the
actual function declarations. This makes finicky c compilers happier.
Problem pointed out by Georg Schwarz in private email.
Diffstat (limited to 'time')
-rw-r--r-- | time/gcal/Makefile | 4 | ||||
-rw-r--r-- | time/gcal/distinfo | 4 | ||||
-rw-r--r-- | time/gcal/patches/patch-aa | 17 | ||||
-rw-r--r-- | time/gcal/patches/patch-ab | 19 |
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, |