summaryrefslogtreecommitdiff
path: root/misc/cksfv/patches
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2003-09-22 09:11:31 +0000
committerwiz <wiz@pkgsrc.org>2003-09-22 09:11:31 +0000
commit01bc05eca638e61c7977db22672910513373ffaa (patch)
tree30c7664b5f392141732e8a31bfc6a181d4814a3d /misc/cksfv/patches
parente0baed69b81dbd056c500f09d454b8291b0c9675 (diff)
downloadpkgsrc-01bc05eca638e61c7977db22672910513373ffaa.tar.gz
Fix off-by-one in date output. Bump PKGREVISION.
Diffstat (limited to 'misc/cksfv/patches')
-rw-r--r--misc/cksfv/patches/patch-ae22
1 files changed, 22 insertions, 0 deletions
diff --git a/misc/cksfv/patches/patch-ae b/misc/cksfv/patches/patch-ae
new file mode 100644
index 00000000000..56dd7910d60
--- /dev/null
+++ b/misc/cksfv/patches/patch-ae
@@ -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> ");
+ 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);
+ }
+ }
+ }