diff options
author | sommerfeld <sommerfeld> | 2001-09-21 17:07:12 +0000 |
---|---|---|
committer | sommerfeld <sommerfeld> | 2001-09-21 17:07:12 +0000 |
commit | bcf1dc665a8c9d76277ca5338b90ab2505829a4a (patch) | |
tree | 14eb54cf1b75cf481f18e4c9cf3b5a96c86e1491 | |
parent | cd3f1afa861cdeef5140f4ed374746206ee1c006 (diff) | |
download | pkgsrc-bcf1dc665a8c9d76277ca5338b90ab2505829a4a.tar.gz |
Patch integer-to-decimal conversion problem which turns up with
scan -format "%(clock{date})"
This is a time_t > 1e9 problem.
-rw-r--r-- | mail/nmh/Makefile | 3 | ||||
-rw-r--r-- | mail/nmh/distinfo | 3 | ||||
-rw-r--r-- | mail/nmh/patches/patch-cd | 23 |
3 files changed, 27 insertions, 2 deletions
diff --git a/mail/nmh/Makefile b/mail/nmh/Makefile index 641ac624d7c..fd428ed14f7 100644 --- a/mail/nmh/Makefile +++ b/mail/nmh/Makefile @@ -1,8 +1,9 @@ -# $NetBSD: Makefile,v 1.41 2001/04/12 07:56:57 wennmach Exp $ +# $NetBSD: Makefile,v 1.42 2001/09/21 17:07:12 sommerfeld Exp $ # FreeBSD Id: Makefile,v 1.2 1997/08/04 06:51:28 markm Exp # DISTNAME= nmh-1.0.4 +PKGNAME= ${DISTNAME}nb1 CATEGORIES= mail MASTER_SITES= ftp://ftp.mhost.com/pub/nmh/ \ ftp://ftp.gw.com/pub/unix/mail/mh/nmh/ diff --git a/mail/nmh/distinfo b/mail/nmh/distinfo index 381ddef3064..0f040d7e980 100644 --- a/mail/nmh/distinfo +++ b/mail/nmh/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.2 2001/04/20 13:10:00 agc Exp $ +$NetBSD: distinfo,v 1.3 2001/09/21 17:07:12 sommerfeld Exp $ SHA1 (nmh-1.0.4.tar.gz) = 71441a884d898db2fd9184a92e663682536425f5 Size (nmh-1.0.4.tar.gz) = 683215 bytes SHA1 (patch-ca) = 43aaf15dc5d07de03ff912894d7128d03eb1889d SHA1 (patch-cb) = 6e498988c08e393fdd4e8e27f2ff6ce457e2c803 SHA1 (patch-cc) = c25e9d2f40cd04f5a3d1964f3f5b72aab461dcae +SHA1 (patch-cd) = 13901025ef3a1b7fc07d0c13f8e1aef3e9bee2d6 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; |