summaryrefslogtreecommitdiff
path: root/mail/nmh
diff options
context:
space:
mode:
authorkim <kim@pkgsrc.org>2002-10-30 16:57:02 +0000
committerkim <kim@pkgsrc.org>2002-10-30 16:57:02 +0000
commit82283c04e1c8ab3d2a281e048010a50dcc725416 (patch)
tree4cd974f82a3a68ff9f399f425a138ba9f2ad090d /mail/nmh
parent01b245d92cfdd66628dc3057aa571f1fba9e6a28 (diff)
downloadpkgsrc-82283c04e1c8ab3d2a281e048010a50dcc725416.tar.gz
Fix detection of non-mime messages when the charset is not enclosed
in double quotes. Without this fix text/plain messages authored on Mozilla will always get displayed using showmimeproc (mhl).
Diffstat (limited to 'mail/nmh')
-rw-r--r--mail/nmh/Makefile4
-rw-r--r--mail/nmh/distinfo3
-rw-r--r--mail/nmh/patches/patch-ci16
3 files changed, 20 insertions, 3 deletions
diff --git a/mail/nmh/Makefile b/mail/nmh/Makefile
index 92561bf66d2..d3acf062c2d 100644
--- a/mail/nmh/Makefile
+++ b/mail/nmh/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.48 2002/10/15 10:47:00 agc Exp $
+# $NetBSD: Makefile,v 1.49 2002/10/30 16:57:02 kim Exp $
# FreeBSD Id: Makefile,v 1.2 1997/08/04 06:51:28 markm Exp
#
DISTNAME= nmh-1.0.4
-PKGREVISION= 3
+PKGREVISION= 4
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 e5509a7fde5..35099e6db50 100644
--- a/mail/nmh/distinfo
+++ b/mail/nmh/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.5 2002/10/15 10:47:00 agc Exp $
+$NetBSD: distinfo,v 1.6 2002/10/30 16:57:02 kim Exp $
SHA1 (nmh-1.0.4.tar.gz) = 71441a884d898db2fd9184a92e663682536425f5
Size (nmh-1.0.4.tar.gz) = 683215 bytes
@@ -6,3 +6,4 @@ SHA1 (patch-ca) = 43aaf15dc5d07de03ff912894d7128d03eb1889d
SHA1 (patch-cb) = 6e498988c08e393fdd4e8e27f2ff6ce457e2c803
SHA1 (patch-cd) = 13901025ef3a1b7fc07d0c13f8e1aef3e9bee2d6
SHA1 (patch-ce) = b93b07c3ee82e6ab8599f362e14ad2dbe1955325
+SHA1 (patch-ci) = 98f1c80281656d05c460bdb237de3efbf80b9e32
diff --git a/mail/nmh/patches/patch-ci b/mail/nmh/patches/patch-ci
new file mode 100644
index 00000000000..8bc3288bbd2
--- /dev/null
+++ b/mail/nmh/patches/patch-ci
@@ -0,0 +1,16 @@
+$NetBSD: patch-ci,v 1.1 2002/10/30 16:57:03 kim Exp $
+
+Fix detection of non-mime messages when the charset is not enclosed
+in double quotes.
+
+--- uip/show.c.orig Sun Sep 12 09:50:12 1999
++++ uip/show.c Wed Oct 30 11:42:42 2002
+@@ -470,7 +470,7 @@
+ *bp = '\0';
+ } else {
+ for (bp = dp; *bp; bp++)
+- if (isspace (*bp)) {
++ if (!istoken (*bp)) {
+ *bp = '\0';
+ break;
+ }