pkgsrc/time/anacron/patches/patch-ab
jmmv a4676aea1a 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.
2005-01-04 14:43:07 +00:00

13 lines
349 B
Text

$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 */