pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/time/gcal Patch a couple of prototypes so that they mo...
details: https://anonhg.NetBSD.org/pkgsrc/rev/94cb3fa059e8
branches: trunk
changeset: 480448:94cb3fa059e8
user: atatat <atatat%pkgsrc.org@localhost>
date: Fri Sep 10 03:34:29 2004 +0000
description:
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:
time/gcal/Makefile | 4 ++--
time/gcal/distinfo | 4 +++-
time/gcal/patches/patch-aa | 17 +++++++++++++++++
time/gcal/patches/patch-ab | 19 +++++++++++++++++++
4 files changed, 41 insertions(+), 3 deletions(-)
diffs (69 lines):
diff -r 1410c6069c24 -r 94cb3fa059e8 time/gcal/Makefile
--- a/time/gcal/Makefile Fri Sep 10 01:39:32 2004 +0000
+++ b/time/gcal/Makefile Fri Sep 10 03:34:29 2004 +0000
@@ -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 -r 1410c6069c24 -r 94cb3fa059e8 time/gcal/distinfo
--- a/time/gcal/distinfo Fri Sep 10 01:39:32 2004 +0000
+++ b/time/gcal/distinfo Fri Sep 10 03:34:29 2004 +0000
@@ -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 -r 1410c6069c24 -r 94cb3fa059e8 time/gcal/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/time/gcal/patches/patch-aa Fri Sep 10 03:34:29 2004 +0000
@@ -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 -r 1410c6069c24 -r 94cb3fa059e8 time/gcal/patches/patch-ab
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/time/gcal/patches/patch-ab Fri Sep 10 03:34:29 2004 +0000
@@ -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,
Home |
Main Index |
Thread Index |
Old Index