summaryrefslogtreecommitdiff
path: root/time/xcal/patches/patch-ag
diff options
context:
space:
mode:
Diffstat (limited to 'time/xcal/patches/patch-ag')
-rw-r--r--time/xcal/patches/patch-ag21
1 files changed, 21 insertions, 0 deletions
diff --git a/time/xcal/patches/patch-ag b/time/xcal/patches/patch-ag
new file mode 100644
index 00000000000..d6f7124e352
--- /dev/null
+++ b/time/xcal/patches/patch-ag
@@ -0,0 +1,21 @@
+$NetBSD: patch-ag,v 1.1 2006/10/24 11:51:55 dsainty Exp $
+
+--- xcalev/xcalev.c.orig 2006-10-24 11:10:19.000000000 +1300
++++ xcalev/xcalev.c 2006-10-24 11:13:37.000000000 +1300
+@@ -52,6 +52,7 @@
+
+ ***/
+ #include <stdio.h>
++#include <stdlib.h>
+ #include <ctype.h>
+ #include <string.h>
+ #include <time.h>
+@@ -88,8 +89,6 @@
+ static char *memerr = "No more memory\n";
+ static char *usage = "Usage: xcalev [-f srcfile] [-d dir][-x][-r] [year]\n";
+
+-char *malloc();
+-
+ /*
+ * routines
+ */