summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2005-01-04 14:43:07 +0000
committerjmmv <jmmv@pkgsrc.org>2005-01-04 14:43:07 +0000
commita4676aea1ab0ba96d8784750561949da30a03607 (patch)
tree8d4a7011425738aa871d59571d8065032cb43077 /time
parent004fb52bd037886c02883fc8228c91b94ed845ca (diff)
downloadpkgsrc-a4676aea1ab0ba96d8784750561949da30a03607.tar.gz
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 (limited to 'time')
-rw-r--r--time/anacron/distinfo3
-rw-r--r--time/anacron/patches/patch-ab13
2 files changed, 15 insertions, 1 deletions
diff --git a/time/anacron/distinfo b/time/anacron/distinfo
index cab13ab99c1..e46db3a4357 100644
--- a/time/anacron/distinfo
+++ b/time/anacron/distinfo
@@ -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 --git a/time/anacron/patches/patch-ab b/time/anacron/patches/patch-ab
new file mode 100644
index 00000000000..9014ddac1de
--- /dev/null
+++ b/time/anacron/patches/patch-ab
@@ -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 */
+