util-linux: fix ncurses/wchar handling (again)
authorCarlos Santos <casantos@datacom.ind.br>
Sun, 22 Jan 2017 03:15:42 +0000 (01:15 -0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 22 Jan 2017 06:53:24 +0000 (17:53 +1100)
commit961f13eedf461499c7fbb9c1c2bdff9f8b01d079
treedbcc9857cf0f2cdf371bf91add55b52a50206dd9
parent051fde24e47e92873ba36f5a692c1f6da78496d1
util-linux: fix ncurses/wchar handling (again)

Since commit 006a328ad6bed214ec3c4d92120510ea37329dd1 ("util-linux: fix
build with ncurses"), we have a build failure that occurs with musl and
uClibc-ng toolchains when wide-char support is not enabled in ncurses.

The problem occurs because util-linux #defines its own wchar_t (as char)
when configured without widechar support. It was fixed upstream, so pull
the corresponding patch from the util-linux git repository.

Fixes:
  http://autobuild.buildroot.net/results/3a2f228e0fa7b5cc28a13d49f48f1a6aef8d9d7a
  http://autobuild.buildroot.net/results/99e96069f652d511c6212a5bb6be29e68fb1747c
  http://autobuild.buildroot.net/results/2dc5721aef93b7b410153bafad78248fac3db941
  http://autobuild.buildroot.net/results/8a9e197ba7a292b18f8c0c36dca974685556a38a

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/util-linux/0003-build-sys-fix-compilation-with-ncurses-and-uClibc-or.patch [new file with mode: 0644]