diff options
| author | Guillermo A. Amaral <g@maral.me> | 2018-01-14 09:28:07 -0800 |
|---|---|---|
| committer | Peter Korsgaard <peter@korsgaard.com> | 2018-01-16 23:23:05 +0100 |
| commit | 3e0fae4fd2f7cebb674270d6ae5d9b73557aa2b4 (patch) | |
| tree | 0be891e7670b67ca5dc23d6a1465ee2cedbdf6ed /package/gnuplot/gnuplot.mk | |
| parent | 4c2d4737801917115bc64f3d64a2820837a5e5db (diff) | |
| download | buildroot-3e0fae4fd2f7cebb674270d6ae5d9b73557aa2b4.tar.gz buildroot-3e0fae4fd2f7cebb674270d6ae5d9b73557aa2b4.zip | |
support/kconfig: apply upstream nconfig ncurses/ncursesw fix
Buildroot's "make nconfig" command stopped working a while ago on
Gentoo systems. Running the command would result in a crash.
The issue is caused by lxdialog's cflags which are also used to build
nconfig; It would detect *ncursesw* and turn on WIDECHAR support --
but the Makefile would still link to plain *ncurses* while building
nconfig (which was built without WIDECHAR support).
This would cause a crash after using *wattrset* on a WINDOW instance.
WIDECHAR *wattrset* would try to set the _color member in the WINDOW
struct which does not exist in the NON-WIDECHAR ncurses instance. It
would end up clobbering data outside the struct (usually _line entries).
An upstream patch fixes the issue, so we're applying it to Buildroot's
kconfig.
Signed-off-by: Guillermo A. Amaral <g@maral.me>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
(cherry picked from commit 8aa4ee2b02abe2a04b15ee3ef53887ade9a4afc4)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/gnuplot/gnuplot.mk')
0 files changed, 0 insertions, 0 deletions

