diff options
Diffstat (limited to 'time/xcal/patches/patch-af')
-rw-r--r-- | time/xcal/patches/patch-af | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/time/xcal/patches/patch-af b/time/xcal/patches/patch-af new file mode 100644 index 00000000000..cd78fea9947 --- /dev/null +++ b/time/xcal/patches/patch-af @@ -0,0 +1,22 @@ +$NetBSD: patch-af,v 1.1 2005/12/07 15:49:46 joerg 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", + + static char *dayfiles[7]; /* connected contents of any dayfiles */ + +-static FILE *fout = stdout; ++static FILE *fout; + + static int mon[] = { + 31, 28, 31, 30, +@@ -132,6 +132,8 @@ main(argc, argv) + int ac; + int yr; + ++ fout = stdout; ++ + while ((c = getopt(argc, argv, "d:u:f:cxv")) != EOF) { + + switch (c) { |