summaryrefslogtreecommitdiff
path: root/mail/elm+ME/files/patch-ai
diff options
context:
space:
mode:
authorFUJISHIMA Satsuki <sf@FreeBSD.org>2001-01-31 17:16:07 +0000
committerFUJISHIMA Satsuki <sf@FreeBSD.org>2001-01-31 17:16:07 +0000
commitba75d40447b0ae425dbf278692a9429137d655dc (patch)
tree42fb93cb2c99da0ee4f0da21cf4e55036383282b /mail/elm+ME/files/patch-ai
parentUpdate pspell version number. (diff)
update to 2.4ME+87.
o change package name elm-2.4ME+82 -> elm+ME-2.4.87. previous naming scheme violates our porting rule. o add PORTEPOCH not to confuse pkg_version. o change maintainer. o add more and more MASTER_SITES. PR: 24171 Submitted by: Cyrille Lefevre <clefevre@citeweb.net> (new maintainer)
Notes
Notes: svn path=/head/; revision=37844
Diffstat (limited to 'mail/elm+ME/files/patch-ai')
-rw-r--r--mail/elm+ME/files/patch-ai22
1 files changed, 22 insertions, 0 deletions
diff --git a/mail/elm+ME/files/patch-ai b/mail/elm+ME/files/patch-ai
new file mode 100644
index 000000000000..28c3eec4f415
--- /dev/null
+++ b/mail/elm+ME/files/patch-ai
@@ -0,0 +1,22 @@
+--- lib/headers.c.orig Fri Dec 29 20:56:44 2000
++++ lib/headers.c Mon Jan 29 00:52:39 2001
+@@ -347,8 +347,18 @@
+ */
+
+ if (NULL != (tmphdr = locate_header_by_name(result,"MIME-Version"))) {
++ /* RFC 1521 says:
+
+- if (0 == strcmp(tmphdr->body,"1.0"))
++ NOTE TO IMPLEMENTORS: All header fields defined in this document,
++ including MIME-Version, Content-type, etc., are subject to the
++ general syntactic rules for header fields specified in RFC 822. In
++ particular, all can include comments, which means that the following
++ two MIME-Version fields are equivalent:
++
++ MIME-Version: 1.0
++ MIME-Version: 1.0 (Generated by GBD-killer 3.7)
++ */
++ if (0 == strncmp(tmphdr->body,"1.0", 3))
+ entry->status |= MIME_MESSAGE;
+ else {
+ entry->status |= MIME_MESSAGE|MIME_UNSUPPORTED;