procps-ng: fix/patch wrong ncursesw headers assumption
authorGustavo Zacarias <gustavo@zacarias.com.ar>
Tue, 7 Apr 2015 22:50:06 +0000 (19:50 -0300)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 8 Apr 2015 20:47:34 +0000 (22:47 +0200)
commitfb9b9c081ac122c9a8e020626de2086ab453d8a6
tree3c5bb3a4453d56a98423a89612141afaaac30c9a
parent3a2816b877f66269ffe92c7d24efa099e8efe948
procps-ng: fix/patch wrong ncursesw headers assumption

The configure script/code assumes ncursesw headers live in
/usr/include/ncursesw.
That's a distribution-ism where they want to have both versions for
ABI/API compatibility, but not the case for embedded where that's not a
concern.
Hence kill the hard-coding and use pkg-config to find this out instead
of the half-made effort about it.
Fixes:
http://autobuild.buildroot.net/results/97d/97dc7f238457609c861c24f81b556973f5dec9c1/

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Tested-by: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/procps-ng/0002-use-pkgconfig-for-ncursesw-cflags.patch [new file with mode: 0644]
package/procps-ng/procps-ng.mk