pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/cksfv Fix off-by-one in date output. Bump PKGREVI...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/79f0619ed7f2
branches:  trunk
changeset: 461819:79f0619ed7f2
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Sep 22 09:11:31 2003 +0000

description:
Fix off-by-one in date output. Bump PKGREVISION.

diffstat:

 misc/cksfv/Makefile         |   3 ++-
 misc/cksfv/distinfo         |   3 ++-
 misc/cksfv/patches/patch-ae |  22 ++++++++++++++++++++++
 3 files changed, 26 insertions(+), 2 deletions(-)

diffs (53 lines):

diff -r 7b8551ce5614 -r 79f0619ed7f2 misc/cksfv/Makefile
--- a/misc/cksfv/Makefile       Mon Sep 22 09:06:35 2003 +0000
+++ b/misc/cksfv/Makefile       Mon Sep 22 09:11:31 2003 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.5 2003/07/21 17:01:13 martti Exp $
+# $NetBSD: Makefile,v 1.6 2003/09/22 09:11:31 wiz Exp $
 #
 
 DISTNAME=      cksfv-1.3
+PKGREVISION=   1
 CATEGORIES=    misc
 MASTER_SITES=  http://www.fodder.org/cksfv/
 
diff -r 7b8551ce5614 -r 79f0619ed7f2 misc/cksfv/distinfo
--- a/misc/cksfv/distinfo       Mon Sep 22 09:06:35 2003 +0000
+++ b/misc/cksfv/distinfo       Mon Sep 22 09:11:31 2003 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2002/01/31 22:17:41 dillo Exp $
+$NetBSD: distinfo,v 1.4 2003/09/22 09:11:31 wiz Exp $
 
 SHA1 (cksfv-1.3.tar.gz) = be8a2adff70a3787b367cf01f247014113bfc646
 Size (cksfv-1.3.tar.gz) = 14925 bytes
@@ -6,3 +6,4 @@
 SHA1 (patch-ab) = e532c68c27518374de69f247f0b82160d11c7f08
 SHA1 (patch-ac) = 4048202c1e2baf8f01cd237e7c16368a0a8d1773
 SHA1 (patch-ad) = 99294fce6cdecbe7c256eaef90bc0e3c66096153
+SHA1 (patch-ae) = dd36480ccebd825a74554906ca075a82af304cd1
diff -r 7b8551ce5614 -r 79f0619ed7f2 misc/cksfv/patches/patch-ae
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/cksfv/patches/patch-ae       Mon Sep 22 09:11:31 2003 +0000
@@ -0,0 +1,22 @@
+$NetBSD: patch-ae,v 1.3 2003/09/22 09:11:32 wiz Exp $
+
+--- src/print.c.orig   Fri Jul  6 08:33:08 2001
++++ src/print.c
+@@ -33,7 +33,7 @@ void pnsfv_head()
+   timeinfo = localtime(&clock);
+   printf("; Generated by cksfv v%s on ", VERSION);
+   printf("%02d-%02d-%02d at %02d:%02d.%02d\n", timeinfo->tm_year+1900,
+-         timeinfo->tm_mon, timeinfo->tm_mday, timeinfo->tm_hour,
++         timeinfo->tm_mon+1, timeinfo->tm_mday, timeinfo->tm_hour,
+          timeinfo->tm_min, timeinfo->tm_sec);
+   printf("; Written by Bryan Call <bc%fodder.org@localhost> ");
+   printf("- http://www.fodder.org/cksfv\n";);
+@@ -54,7 +54,7 @@ void pfileinfo(char **argv)
+       printf(";%13d  %02d:%02d.%02d %02d-%02d-%02d %s\n",
+              (int)sb.st_size, timeinfo->tm_hour, timeinfo->tm_min,
+              timeinfo->tm_sec,
+-             timeinfo->tm_year+1900, timeinfo->tm_mon, timeinfo->tm_mday, fn);
++             timeinfo->tm_year+1900, timeinfo->tm_mon+1, timeinfo->tm_mday, fn);
+     }
+   }
+ }



Home | Main Index | Thread Index | Old Index