pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/time/xcal Initialisation with stdout has to be done at...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/071d4664c401
branches:  trunk
changeset: 504242:071d4664c401
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Wed Dec 07 15:49:46 2005 +0000

description:
Initialisation with stdout has to be done at runtime.

diffstat:

 time/xcal/distinfo         |   3 ++-
 time/xcal/patches/patch-af |  22 ++++++++++++++++++++++
 2 files changed, 24 insertions(+), 1 deletions(-)

diffs (40 lines):

diff -r 45d21caf672c -r 071d4664c401 time/xcal/distinfo
--- a/time/xcal/distinfo        Wed Dec 07 15:48:55 2005 +0000
+++ b/time/xcal/distinfo        Wed Dec 07 15:49:46 2005 +0000
@@ -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-ac) = 82da3ea57db0ab225066f6b6fd354a83e8cccbc1
 SHA1 (patch-ad) = 5f8a8bc3adf0a90d996191b65599d0252a28de6e
 SHA1 (patch-ae) = d6000c3976bd672feadeda6b97cbf0a07c505418
+SHA1 (patch-af) = 63022fcd1157aa0aa4071c8c419a6339b39b703c
diff -r 45d21caf672c -r 071d4664c401 time/xcal/patches/patch-af
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/time/xcal/patches/patch-af        Wed Dec 07 15:49:46 2005 +0000
@@ -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) {



Home | Main Index | Thread Index | Old Index