util-linux: fix compilation when libc lacks wide-character support
authorCarlos Santos <casantos@datacom.ind.br>
Tue, 27 Jun 2017 17:03:03 +0000 (14:03 -0300)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 28 Jun 2017 21:26:27 +0000 (23:26 +0200)
commit5bfa6826b4ca89e03f0007225ab59b6938d36c92
tree1ebd9b61c1436226f9cd2e396b8ea8c01b01901d
parente51d69a3b11ae971d2aa65d6d0a6f0bb7730e0ab
util-linux: fix compilation when libc lacks wide-character support

A recent change in util-linux left calls to wcstok and wcspbrk not
guarded by "#ifdef HAVE_WIDECHAR". This causes build failures when
libc does not have the wide-character functions, like some uClibc
builds.

Solve the problem by means of a patch already sent upstream.

Fixes:
  http://autobuild.buildroot.net/results/fd8a1a8e0cef3aeed9588540e8e663664f6b43aa
  http://autobuild.buildroot.net/results/5ad73ea8b471321988c50d80a5e50d4504151dd6
  http://autobuild.buildroot.net/results/04411b7280dc51ecd51236967981a42352bbeb3e

Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/util-linux/0002-column-fix-compilation-when-libc-lacks-wide-characte.patch [new file with mode: 0644]