python: -Wformat is needed by gcc 4.8
authorKhem Raj <raj.khem@gmail.com>
Thu, 13 Jun 2013 09:28:28 +0000 (02:28 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 14 Jun 2013 11:44:37 +0000 (12:44 +0100)
commit2c8db727d13eacc59c7e54d43fc27a38bcd91798
tree8ece5d598853144f692855ed93c6829582f111b1
parent4e8c365c1cc97739e5a83c39054780986b90c53e
python: -Wformat is needed by gcc 4.8

This fixes errors in packages using python( build with gcc 4.8)

|
/home/jenkins/oe/shr-core-branches/shr-core/tmp-eglibc/sysroots/qemuarm/usr/include/python2.7/modsupport.h:27:1:
error: 'PyArg_ParseTuple' is an unrecognized format function type
[-Werror=format=]
|  PyAPI_FUNC(int) PyArg_ParseTuple(PyObject *, const char *, ...)
Py_FORMAT_PARSETUPLE(PyArg_ParseTuple, 2, 3);
|  ^
| cc1: all warnings being treated as errors
| cc1: all warnings being treated as errors

(From OE-Core rev: 5745a482a85c064a1eec960aff104cf8ce588e30)

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/python/python/gcc-4.8-fix-configure-Wformat.patch [new file with mode: 0644]
meta/recipes-devtools/python/python_2.7.3.bb