diff options
Diffstat (limited to 'time/xcal/patches/patch-af')
-rw-r--r-- | time/xcal/patches/patch-af | 27 |
1 files changed, 22 insertions, 5 deletions
diff --git a/time/xcal/patches/patch-af b/time/xcal/patches/patch-af index cd78fea9947..d692ce2d112 100644 --- a/time/xcal/patches/patch-af +++ b/time/xcal/patches/patch-af @@ -1,8 +1,16 @@ -$NetBSD: patch-af,v 1.1 2005/12/07 15:49:46 joerg Exp $ +$NetBSD: patch-af,v 1.2 2006/10/24 11:51:55 dsainty Exp $ ---- xcalpr/xcalpr.c.orig 2005-12-06 13:21:40.000000000 +0000 -+++ xcalpr/xcalpr.c -@@ -86,7 +86,7 @@ static char *daynames[] = {"Sun", "Mon", +--- xcalpr/xcalpr.c.orig 2006-10-20 16:38:40.000000000 +1300 ++++ xcalpr/xcalpr.c 2006-10-24 11:08:56.000000000 +1300 +@@ -59,6 +59,7 @@ + + ***/ + #include <stdio.h> ++#include <stdlib.h> + #include <ctype.h> + #include <string.h> + #include <time.h> +@@ -86,7 +87,7 @@ static char *dayfiles[7]; /* connected contents of any dayfiles */ @@ -11,7 +19,16 @@ $NetBSD: patch-af,v 1.1 2005/12/07 15:49:46 joerg Exp $ static int mon[] = { 31, 28, 31, 30, -@@ -132,6 +132,8 @@ main(argc, argv) +@@ -100,8 +101,6 @@ + static char *memerr = "No more memory\n"; + static char *usage = "Usage: xcalpr [-d dir][-x][-c][-u user][-f file] [month list]\n"; + +-char *malloc(); +- + /* + * Routines + */ +@@ -132,6 +131,8 @@ int ac; int yr; |