]> rtime.felk.cvut.cz Git - coffee/buildroot.git/blob - package/systemd-bootchart/0001-parse-util-Don-t-use-xlocale.h-35.patch
package/systemd-bootchart: fix build w/ glibc 2.26
[coffee/buildroot.git] / package / systemd-bootchart / 0001-parse-util-Don-t-use-xlocale.h-35.patch
1 From 15062a4501a1dffccd7cb6374b415693fa4435bf Mon Sep 17 00:00:00 2001
2 From: Jussi Kukkonen <jussi.kukkonen@intel.com>
3 Date: Tue, 18 Jul 2017 22:55:50 +0300
4 Subject: [PATCH] parse-util: Don't use xlocale.h (#35)
5
6 glibc 2.26 no longer contains the non-standard xlocale.h
7 (http://sourceware.org/glibc/wiki/Release/2.26#Removal_of_.27xlocale.h.27)
8
9 This change shouldn't break anything as xlocale.h was a subset of
10 locale.h.
11
12 [yann.morin.1998@free.fr: backported from upstream]
13 Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
14 ---
15  src/parse-util.c | 1 -
16  1 file changed, 1 deletion(-)
17
18 diff --git a/src/parse-util.c b/src/parse-util.c
19 index 5635a68..1b2169c 100644
20 --- a/src/parse-util.c
21 +++ b/src/parse-util.c
22 @@ -21,7 +21,6 @@
23  #include <locale.h>
24  #include <stdlib.h>
25  #include <string.h>
26 -#include <xlocale.h>
27  
28  #include "macro.h"
29  #include "parse-util.h"
30 -- 
31 2.11.0
32