pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/time/anacron Fix build under Linux (attempt to modify ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/07743b132129
branches:  trunk
changeset: 486872:07743b132129
user:      jmmv <jmmv%pkgsrc.org@localhost>
date:      Tue Jan 04 14:43:07 2005 +0000

description:
Fix build under Linux (attempt to modify a const variable).  I'm not sure
why it's an error there, while NetBSD only shows a warning (maybe it's due
to the GCC version used).

Shown in last minskim@'s bulk build.

diffstat:

 time/anacron/distinfo         |   3 ++-
 time/anacron/patches/patch-ab |  13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diffs (28 lines):

diff -r e313f34e9f65 -r 07743b132129 time/anacron/distinfo
--- a/time/anacron/distinfo     Tue Jan 04 14:29:19 2005 +0000
+++ b/time/anacron/distinfo     Tue Jan 04 14:43:07 2005 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2004/04/11 11:33:46 jmmv Exp $
+$NetBSD: distinfo,v 1.2 2005/01/04 14:43:07 jmmv Exp $
 
 SHA1 (anacron-2.3.tar.gz) = d0e154123585e9faf615d67230d82d7d1b4c099a
 Size (anacron-2.3.tar.gz) = 24140 bytes
 SHA1 (patch-aa) = d11218f289d48b6a12ce2a5a59f645a04695214d
+SHA1 (patch-ab) = 7934402cd051cf0e5e434716a7c4ac677f993e2a
diff -r e313f34e9f65 -r 07743b132129 time/anacron/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/time/anacron/patches/patch-ab     Tue Jan 04 14:43:07 2005 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1 2005/01/04 14:43:07 jmmv Exp $
+
+--- gregor.c.orig      2000-06-23 00:50:40.000000000 +0200
++++ gregor.c
+@@ -65,7 +65,7 @@ day_num(int year, int month, int day)
+ {
+     int dn;
+     int i;
+-    const int isleap; /* save three calls to leap() */
++    int isleap; /* save three calls to leap() */
+ 
+     /* Some validity checks */
+ 



Home | Main Index | Thread Index | Old Index