summaryrefslogtreecommitdiff
path: root/time
diff options
context:
space:
mode:
authorjoerg <joerg>2005-12-07 15:49:46 +0000
committerjoerg <joerg>2005-12-07 15:49:46 +0000
commit47bb46c815d3217df8dfe1bcbc85dc4616440b94 (patch)
tree2d0049d0f8c7cff1635908897ada234754b82c8b /time
parentd64133e81a107787281b519a90e584bf592fd527 (diff)
downloadpkgsrc-47bb46c815d3217df8dfe1bcbc85dc4616440b94.tar.gz
Initialisation with stdout has to be done at runtime.
Diffstat (limited to 'time')
-rw-r--r--time/xcal/distinfo3
-rw-r--r--time/xcal/patches/patch-af22
2 files changed, 24 insertions, 1 deletions
diff --git a/time/xcal/distinfo b/time/xcal/distinfo
index 3f7d9e481ce..dc0eb1974c6 100644
--- a/time/xcal/distinfo
+++ b/time/xcal/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2005/02/23 19:14:56 wiz Exp $
+$NetBSD: distinfo,v 1.4 2005/12/07 15:49:46 joerg Exp $
SHA1 (xcal41.tar.Z) = dc2562b9c9fccdee230b3a0b0643d878eae0d014
RMD160 (xcal41.tar.Z) = 41189d892b98cd4ec3e00f64e48c200169bbfb3e
@@ -8,3 +8,4 @@ SHA1 (patch-ab) = 847c05195281b468d8b913b26f18637964ffd43e
SHA1 (patch-ac) = 82da3ea57db0ab225066f6b6fd354a83e8cccbc1
SHA1 (patch-ad) = 5f8a8bc3adf0a90d996191b65599d0252a28de6e
SHA1 (patch-ae) = d6000c3976bd672feadeda6b97cbf0a07c505418
+SHA1 (patch-af) = 63022fcd1157aa0aa4071c8c419a6339b39b703c
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) {