Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Feb 2004 05:05:59 -0600 (CST)
From:      "Conrad J. Sabatier" <conrads@cox.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/63383: mail/xfmail: patch to correct koi8-r MIME error
Message-ID:  <200402261105.i1QB5xfV014241@ip68-14-60-78.no.no.cox.net>
Resent-Message-ID: <200402261110.i1QBAIe7097024@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200402261105.i1QB5xfV014241>