localedef: fix xlocale.h related compile failure
authorPeter Seiderer <ps.report@gmx.net>
Mon, 20 Nov 2017 18:36:58 +0000 (19:36 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Wed, 22 Nov 2017 20:39:06 +0000 (21:39 +0100)
commitd5cc76c5314f58fa18001e9abce196c1ac4a28d1
tree154904623da92ae9c07b36f04e1cb17fd0d13bf6
parentdf75c954bc5633045d5c06a87c53d71dad8ae6e1
localedef: fix xlocale.h related compile failure

Add upstream patch 'Don't include <xlocale.h>'.

Fixes Bug-10501 ([1]):

In file included from ./include/locale.h:1:0,
                 from /usr/include/libintl.h:103,
                 from ./include/libintl.h:2,
                 from glibc/locale/programs/charmap.c:25:
glibc/locale/locale.h:146:11: fatal error: xlocale.h: No such file or directory
 # include <xlocale.h>

[1] https://bugs.busybox.net/show_bug.cgi?id=10501

Signed-off-by: Peter Seiderer <ps.report@gmx.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/localedef/0001-Don-t-include-xlocale.h.patch [new file with mode: 0644]