package/ncurses: Fix GCC 5.x preprocessor failure
authorDoug Kehn <rdkehn@yahoo.com>
Wed, 27 May 2015 23:51:53 +0000 (18:51 -0500)
committerPeter Korsgaard <peter@korsgaard.com>
Sun, 31 May 2015 20:32:23 +0000 (22:32 +0200)
commit4297e7298edbef6dde75d8bf468441c6a242da5c
treeb39c379a09ae2b57627f3a96f81184339af4e983
parent4433c7d647f4c9385d9a7e3f0ce912d61edfd519
package/ncurses: Fix GCC 5.x preprocessor failure

Building ncurses 5.9 with GCC 5.x fails with a syntax error, caused by
earlier preprocessing. This failure is more likely when building for
host (e.g. host-ncurses) that recently updated to GCC 5.x.

This patch is taken from the following link (more information is also
available here):
https://groups.google.com/forum/#!topic/sage-trac/U31shviuqzk

Signed-off-by: Doug Kehn <rdkehn@yahoo.com>
Acked-by: Jaap Crezee <jaap@jcz.nl>
Tested-by: Jaap Crezee <jaap@jcz.nl>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/ncurses/0002-gcc-5.x-MKlib_gen.patch [new file with mode: 0644]