From 72964fca1d044fbb49ae64c4bab3145e32240c9f Mon Sep 17 00:00:00 2001 From: Kai Kang Date: Wed, 29 Oct 2014 19:16:08 +0800 Subject: python-2.7.3:remove BOM insertion code Backport patch from: https://hg.python.org/cpython/rev/af46a001d5ec SysLogHandler converts message to utf8 and adds BOM, supposedly to conform with RFC5424, but the implementation is broken: the RFC specifies that the BOM should prefix only unstructured message part, but current Python implementation puts it in the middle of structured part, thus confusing RFC-compliant receivers. (From OE-Core rev: c51caffe5ac0d49844dcbac7967f609d44c20470) Signed-off-by: yzhu1 Signed-off-by: Kai Kang Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/recipes-devtools/python/python_2.7.3.bb | 1 + 1 file changed, 1 insertion(+) (limited to 'meta/recipes-devtools/python/python_2.7.3.bb') diff --git a/meta/recipes-devtools/python/python_2.7.3.bb b/meta/recipes-devtools/python/python_2.7.3.bb index cc92ebc6a4..f2e6fde4d6 100644 --- a/meta/recipes-devtools/python/python_2.7.3.bb +++ b/meta/recipes-devtools/python/python_2.7.3.bb @@ -38,6 +38,7 @@ SRC_URI += "\ file://python-2.7.3-CVE-2014-1912.patch \ file://json-flaw-fix.patch \ file://posix_close.patch \ + file://remove-BOM-insection-code.patch \ " S = "${WORKDIR}/Python-${PV}" -- cgit v1.2.3-54-g00ecf