summaryrefslogtreecommitdiff
path: root/time/gnotime/patches/patch-ak
diff options
context:
space:
mode:
Diffstat (limited to 'time/gnotime/patches/patch-ak')
-rw-r--r--time/gnotime/patches/patch-ak18
1 files changed, 18 insertions, 0 deletions
diff --git a/time/gnotime/patches/patch-ak b/time/gnotime/patches/patch-ak
new file mode 100644
index 00000000000..a5d8dbdf5f2
--- /dev/null
+++ b/time/gnotime/patches/patch-ak
@@ -0,0 +1,18 @@
+$NetBSD: patch-ak,v 1.1 2004/11/24 22:35:25 kristerw Exp $
+
+--- src/query.c.orig Wed Nov 24 22:41:39 2004
++++ src/query.c Wed Nov 24 22:41:55 2004
+@@ -74,12 +74,12 @@
+
+ while (1)
+ {
++ GttBucket *bu;
+ /* Check error bounds, should never happen */
+ if ((0 > arr_day) || (arr_day >= da->array_len))
+ {
+ return 1;
+ }
+- GttBucket *bu;
+ bu = &g_array_index (da->buckets, GttBucket, arr_day);
+
+ stm.tm_mday ++;