Gentoo Archives: gentoo-commits

From: "Mike Frysinger (vapier)" <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo commit in src/patchsets/glibc/extra/c_stubs: gconv_stubs.c
Date: Fri, 19 Feb 2016 02:22:36
Message-Id: 20160219022231.6787115FB@oystercatcher.gentoo.org
1 vapier 16/02/19 02:22:31
2
3 Modified: gconv_stubs.c
4 Log:
5 c_stubs: get it building w/glibc-2.23+
6
7 Revision Changes Path
8 1.2 src/patchsets/glibc/extra/c_stubs/gconv_stubs.c
9
10 file : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/glibc/extra/c_stubs/gconv_stubs.c?rev=1.2&view=markup
11 plain: http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/glibc/extra/c_stubs/gconv_stubs.c?rev=1.2&content-type=text/plain
12 diff : http://sources.gentoo.org/viewvc.cgi/gentoo/src/patchsets/glibc/extra/c_stubs/gconv_stubs.c?r1=1.1&r2=1.2
13
14 Index: gconv_stubs.c
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo/src/patchsets/glibc/extra/c_stubs/gconv_stubs.c,v
17 retrieving revision 1.1
18 retrieving revision 1.2
19 diff -u -r1.1 -r1.2
20 --- gconv_stubs.c 26 Jun 2006 22:14:01 -0000 1.1
21 +++ gconv_stubs.c 19 Feb 2016 02:22:31 -0000 1.2
22 @@ -20,7 +20,11 @@
23 #include <features.h>
24 #include <string.h>
25 #include <wchar.h>
26 -#include <bits/libc-lock.h>
27 +#if __GLIBC_PREREQ(2, 23)
28 +# include <libc-lock.h>
29 +#else
30 +# include <bits/libc-lock.h>
31 +#endif
32 #if __GNUC_PREREQ(3, 3)
33 # include <gconv_int.h>
34 #else