diff options
Diffstat (limited to 'meta/recipes-core/gettext/gettext-0.17/wchar-uclibc.patch')
-rw-r--r-- | meta/recipes-core/gettext/gettext-0.17/wchar-uclibc.patch | 96 |
1 files changed, 96 insertions, 0 deletions
diff --git a/meta/recipes-core/gettext/gettext-0.17/wchar-uclibc.patch b/meta/recipes-core/gettext/gettext-0.17/wchar-uclibc.patch new file mode 100644 index 0000000000..7b3880bf77 --- /dev/null +++ b/meta/recipes-core/gettext/gettext-0.17/wchar-uclibc.patch | |||
@@ -0,0 +1,96 @@ | |||
1 | Index: gettext-0.17/gettext-runtime/gnulib-lib/wchar.in.h | ||
2 | =================================================================== | ||
3 | --- gettext-0.17.orig/gettext-runtime/gnulib-lib/wchar.in.h 2008-07-29 14:51:52.336394636 +0200 | ||
4 | +++ gettext-0.17/gettext-runtime/gnulib-lib/wchar.in.h 2008-07-29 14:52:25.546430195 +0200 | ||
5 | @@ -1,6 +1,6 @@ | ||
6 | /* A substitute for ISO C99 <wchar.h>, for platforms that have issues. | ||
7 | |||
8 | - Copyright (C) 2007 Free Software Foundation, Inc. | ||
9 | + Copyright (C) 2007-2008 Free Software Foundation, Inc. | ||
10 | |||
11 | This program is free software; you can redistribute it and/or modify | ||
12 | it under the terms of the GNU General Public License as published by | ||
13 | @@ -26,6 +26,14 @@ | ||
14 | * the declaration of wcwidth(). | ||
15 | */ | ||
16 | |||
17 | +#ifdef __need_mbstate_t | ||
18 | +/* Special invocation convention inside uClibc header files. */ | ||
19 | + | ||
20 | +#@INCLUDE_NEXT@ @NEXT_WCHAR_H@ | ||
21 | + | ||
22 | +#else | ||
23 | +/* Normal invocation convention. */ | ||
24 | + | ||
25 | #ifndef _GL_WCHAR_H | ||
26 | |||
27 | /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before | ||
28 | @@ -80,3 +88,4 @@ | ||
29 | |||
30 | #endif /* _GL_WCHAR_H */ | ||
31 | #endif /* _GL_WCHAR_H */ | ||
32 | +#endif | ||
33 | Index: gettext-0.17/gettext-tools/gnulib-lib/wchar.in.h | ||
34 | =================================================================== | ||
35 | --- gettext-0.17.orig/gettext-tools/gnulib-lib/wchar.in.h 2008-07-29 14:52:03.886393956 +0200 | ||
36 | +++ gettext-0.17/gettext-tools/gnulib-lib/wchar.in.h 2008-07-29 14:52:50.876388000 +0200 | ||
37 | @@ -1,6 +1,6 @@ | ||
38 | /* A substitute for ISO C99 <wchar.h>, for platforms that have issues. | ||
39 | |||
40 | - Copyright (C) 2007 Free Software Foundation, Inc. | ||
41 | + Copyright (C) 2007-2008 Free Software Foundation, Inc. | ||
42 | |||
43 | This program is free software; you can redistribute it and/or modify | ||
44 | it under the terms of the GNU General Public License as published by | ||
45 | @@ -26,6 +26,14 @@ | ||
46 | * the declaration of wcwidth(). | ||
47 | */ | ||
48 | |||
49 | +#ifdef __need_mbstate_t | ||
50 | +/* Special invocation convention inside uClibc header files. */ | ||
51 | + | ||
52 | +#@INCLUDE_NEXT@ @NEXT_WCHAR_H@ | ||
53 | + | ||
54 | +#else | ||
55 | +/* Normal invocation convention. */ | ||
56 | + | ||
57 | #ifndef _GL_WCHAR_H | ||
58 | |||
59 | /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before | ||
60 | @@ -80,3 +88,4 @@ | ||
61 | |||
62 | #endif /* _GL_WCHAR_H */ | ||
63 | #endif /* _GL_WCHAR_H */ | ||
64 | +#endif | ||
65 | Index: gettext-0.17/gettext-tools/libgettextpo/wchar.in.h | ||
66 | =================================================================== | ||
67 | --- gettext-0.17.orig/gettext-tools/libgettextpo/wchar.in.h 2008-07-29 14:51:58.826395009 +0200 | ||
68 | +++ gettext-0.17/gettext-tools/libgettextpo/wchar.in.h 2008-07-29 14:52:38.609723575 +0200 | ||
69 | @@ -1,6 +1,6 @@ | ||
70 | /* A substitute for ISO C99 <wchar.h>, for platforms that have issues. | ||
71 | |||
72 | - Copyright (C) 2007 Free Software Foundation, Inc. | ||
73 | + Copyright (C) 2007-2008 Free Software Foundation, Inc. | ||
74 | |||
75 | This program is free software; you can redistribute it and/or modify | ||
76 | it under the terms of the GNU General Public License as published by | ||
77 | @@ -26,6 +26,14 @@ | ||
78 | * the declaration of wcwidth(). | ||
79 | */ | ||
80 | |||
81 | +#ifdef __need_mbstate_t | ||
82 | +/* Special invocation convention inside uClibc header files. */ | ||
83 | + | ||
84 | +#@INCLUDE_NEXT@ @NEXT_WCHAR_H@ | ||
85 | + | ||
86 | +#else | ||
87 | +/* Normal invocation convention. */ | ||
88 | + | ||
89 | #ifndef _GL_WCHAR_H | ||
90 | |||
91 | /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before | ||
92 | @@ -80,3 +88,4 @@ | ||
93 | |||
94 | #endif /* _GL_WCHAR_H */ | ||
95 | #endif /* _GL_WCHAR_H */ | ||
96 | +#endif | ||