ports/63383: mail/xfmail: patch to correct koi8-r MIME error

Conrad J. Sabatier conrads at cox.net
Thu Feb 26 11:10:18 UTC 2004


>Number:         63383
>Category:       ports
>Synopsis:       mail/xfmail: patch to correct koi8-r MIME error
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Feb 26 03:10:18 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     Conrad J. Sabatier <conrads at cox.net>
>Release:        FreeBSD 5.2-CURRENT i386
>Organization:
>Environment:
System: FreeBSD ip68-14-60-78.no.no.cox.net 5.2-CURRENT FreeBSD 5.2-CURRENT #5: Wed Feb 18 11:33:10 CST 2004 root at ip68-14-60-78.no.no.cox.net:/usr/obj/usr/src/sys/MYKERNEL i386


>Description:
	Locale "koi8-r" incorrectly defined in uppercase, causing it to
	fail to be recognized in an e-mail header
>How-To-Repeat:
	Compile the port as-is
>Fix:
	Add the following patch in mail/xfmail/files/patch-mime.cpp:

--- src/mail/mime.cpp.orig	Thu Feb 26 04:30:37 2004
+++ src/mail/mime.cpp	Thu Feb 26 04:31:13 2004
@@ -161,7 +161,7 @@
 	{ ISO_8859_13, "iso8859-13", "Baltic", NULL, NULL, 1 },
 	{ ISO_8859_14, "iso8859-14", "Celtic", NULL, NULL, 1 },
 	{ ISO_8859_15, "iso8859-15", "Western European", NULL, NULL, 1 },
-	{ KOI8R, "KOI8-R", "Russian", NULL, NULL, 1 },
+	{ KOI8R, "koi8-r", "Russian", NULL, NULL, 1 },
 	{ CHAR_UNKNOWN, "unknown", NULL, NULL, NULL, 1 }
 };
 

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list