diff options
Diffstat (limited to 'meta/recipes-core/gettext/gettext-0.18.1.1/wchar-uclibc.patch')
-rw-r--r-- | meta/recipes-core/gettext/gettext-0.18.1.1/wchar-uclibc.patch | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/meta/recipes-core/gettext/gettext-0.18.1.1/wchar-uclibc.patch b/meta/recipes-core/gettext/gettext-0.18.1.1/wchar-uclibc.patch new file mode 100644 index 0000000000..34e3f1a34a --- /dev/null +++ b/meta/recipes-core/gettext/gettext-0.18.1.1/wchar-uclibc.patch | |||
@@ -0,0 +1,74 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
3 | Index: gettext-0.18.1.1/gettext-runtime/gnulib-lib/wchar.in.h | ||
4 | =================================================================== | ||
5 | --- gettext-0.18.1.1.orig/gettext-runtime/gnulib-lib/wchar.in.h 2010-05-08 18:36:16.000000000 -0700 | ||
6 | +++ gettext-0.18.1.1/gettext-runtime/gnulib-lib/wchar.in.h 2011-05-25 16:28:38.656220937 -0700 | ||
7 | @@ -48,6 +48,14 @@ | ||
8 | #else | ||
9 | /* Normal invocation convention. */ | ||
10 | |||
11 | +#ifdef __need_mbstate_t | ||
12 | +/* Special invocation convention inside uClibc header files. */ | ||
13 | + | ||
14 | +#@INCLUDE_NEXT@ @NEXT_WCHAR_H@ | ||
15 | + | ||
16 | +#else | ||
17 | +/* Normal invocation convention. */ | ||
18 | + | ||
19 | #ifndef _GL_WCHAR_H | ||
20 | |||
21 | #define _GL_ALREADY_INCLUDING_WCHAR_H | ||
22 | @@ -426,3 +434,4 @@ | ||
23 | #endif /* _GL_WCHAR_H */ | ||
24 | #endif /* _GL_WCHAR_H */ | ||
25 | #endif | ||
26 | +#endif | ||
27 | Index: gettext-0.18.1.1/gettext-tools/gnulib-lib/wchar.in.h | ||
28 | =================================================================== | ||
29 | --- gettext-0.18.1.1.orig/gettext-tools/gnulib-lib/wchar.in.h 2010-05-24 02:42:48.000000000 -0700 | ||
30 | +++ gettext-0.18.1.1/gettext-tools/gnulib-lib/wchar.in.h 2011-05-25 16:28:15.717360791 -0700 | ||
31 | @@ -48,6 +48,14 @@ | ||
32 | #else | ||
33 | /* Normal invocation convention. */ | ||
34 | |||
35 | +#ifdef __need_mbstate_t | ||
36 | +/* Special invocation convention inside uClibc header files. */ | ||
37 | + | ||
38 | +#@INCLUDE_NEXT@ @NEXT_WCHAR_H@ | ||
39 | + | ||
40 | +#else | ||
41 | +/* Normal invocation convention. */ | ||
42 | + | ||
43 | #ifndef _GL_WCHAR_H | ||
44 | |||
45 | #define _GL_ALREADY_INCLUDING_WCHAR_H | ||
46 | @@ -426,3 +434,4 @@ | ||
47 | #endif /* _GL_WCHAR_H */ | ||
48 | #endif /* _GL_WCHAR_H */ | ||
49 | #endif | ||
50 | +#endif | ||
51 | Index: gettext-0.18.1.1/gettext-tools/libgettextpo/wchar.in.h | ||
52 | =================================================================== | ||
53 | --- gettext-0.18.1.1.orig/gettext-tools/libgettextpo/wchar.in.h 2010-05-08 18:38:04.000000000 -0700 | ||
54 | +++ gettext-0.18.1.1/gettext-tools/libgettextpo/wchar.in.h 2011-05-25 16:28:26.998721087 -0700 | ||
55 | @@ -48,6 +48,14 @@ | ||
56 | #else | ||
57 | /* Normal invocation convention. */ | ||
58 | |||
59 | +#ifdef __need_mbstate_t | ||
60 | +/* Special invocation convention inside uClibc header files. */ | ||
61 | + | ||
62 | +#@INCLUDE_NEXT@ @NEXT_WCHAR_H@ | ||
63 | + | ||
64 | +#else | ||
65 | +/* Normal invocation convention. */ | ||
66 | + | ||
67 | #ifndef _GL_WCHAR_H | ||
68 | |||
69 | #define _GL_ALREADY_INCLUDING_WCHAR_H | ||
70 | @@ -426,3 +434,4 @@ | ||
71 | #endif /* _GL_WCHAR_H */ | ||
72 | #endif /* _GL_WCHAR_H */ | ||
73 | #endif | ||
74 | +#endif | ||