summaryrefslogtreecommitdiff
path: root/mail/nmh/patches
diff options
context:
space:
mode:
authorsommerfeld <sommerfeld@pkgsrc.org>2001-09-21 17:07:12 +0000
committersommerfeld <sommerfeld@pkgsrc.org>2001-09-21 17:07:12 +0000
commitae910df7caacee12e0e61338e9b766d3f991e974 (patch)
tree14eb54cf1b75cf481f18e4c9cf3b5a96c86e1491 /mail/nmh/patches
parent27656c9c52b6cbd137c455efebb4c97903c10040 (diff)
downloadpkgsrc-ae910df7caacee12e0e61338e9b766d3f991e974.tar.gz
Patch integer-to-decimal conversion problem which turns up with
scan -format "%(clock{date})" This is a time_t > 1e9 problem.
Diffstat (limited to 'mail/nmh/patches')
-rw-r--r--mail/nmh/patches/patch-cd23
1 files changed, 23 insertions, 0 deletions
diff --git a/mail/nmh/patches/patch-cd b/mail/nmh/patches/patch-cd
new file mode 100644
index 00000000000..191e35a7c03
--- /dev/null
+++ b/mail/nmh/patches/patch-cd
@@ -0,0 +1,23 @@
+$NetBSD: patch-cd,v 1.3 2001/09/21 17:07:13 sommerfeld Exp $
+
+*** sbr/fmt_scan.c.~1~ Sun Sep 26 13:45:56 1999
+--- sbr/fmt_scan.c Fri Sep 21 12:09:25 2001
+***************
+*** 282,289 ****
+ char *cp, *ep, *sp;
+ char *savestr, *str = NULL;
+ char buffer[BUFSIZ], buffer2[BUFSIZ];
+! int i, c, ljust;
+! int value = 0;
+ time_t t;
+ struct format *fmt;
+ struct comp *comp;
+--- 282,289 ----
+ char *cp, *ep, *sp;
+ char *savestr, *str = NULL;
+ char buffer[BUFSIZ], buffer2[BUFSIZ];
+! int i, ljust;
+! int64_t c, value = 0;
+ time_t t;
+ struct format *fmt;
+ struct comp *comp;