diff options
author | sommerfeld <sommerfeld@pkgsrc.org> | 2001-09-21 17:07:12 +0000 |
---|---|---|
committer | sommerfeld <sommerfeld@pkgsrc.org> | 2001-09-21 17:07:12 +0000 |
commit | ae910df7caacee12e0e61338e9b766d3f991e974 (patch) | |
tree | 14eb54cf1b75cf481f18e4c9cf3b5a96c86e1491 /mail/nmh | |
parent | 27656c9c52b6cbd137c455efebb4c97903c10040 (diff) | |
download | pkgsrc-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')
-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; |