1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../gettext/wchar-fix.patch
5 # Copyright (C) 2008 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
15 # --- T2-COPYRIGHT-NOTE-END ---
16 # --- T2-COPYRIGHT-NOTE-BEGIN ---
17 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
19 # T2 SDE: package/.../gettext/wchar-fix.patch
20 # Copyright (C) 2008 The T2 SDE Project
22 # More information can be found in the files COPYING and README.
24 # This patch file is dual-licensed. It is available under the license the
25 # patched project is licensed under, as long as it is an OpenSource license
26 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
27 # of the GNU General Public License as published by the Free Software
28 # Foundation; either version 2 of the License, or (at your option) any later
30 # --- T2-COPYRIGHT-NOTE-END ---
32 # Taken from: http://svn.exactcode.de/t2/trunk/package/base/gettext/wchar-fix.patch
35 diff -pruN gettext-0.17.orig//gettext-runtime/gnulib-lib/wchar.in.h gettext-0.17/gettext-runtime/gnulib-lib/wchar.in.h
36 --- gettext-0.17.orig//gettext-runtime/gnulib-lib/wchar.in.h 2010-02-17 15:36:18.822918689 +0100
37 +++ gettext-0.17/gettext-runtime/gnulib-lib/wchar.in.h 2010-02-17 15:38:37.686548691 +0100
39 * the declaration of wcwidth().
42 +#ifdef __need_mbstate_t
43 +/* Special invocation convention inside glibc header files. */
45 +#@INCLUDE_NEXT@ @NEXT_WCHAR_H@
48 +/* Normal invocation convention. */
52 /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
53 @@ -80,3 +88,4 @@ extern int wcwidth (int /* actually wcha
55 #endif /* _GL_WCHAR_H */
56 #endif /* _GL_WCHAR_H */
58 diff -pruN gettext-0.17.orig//gettext-tools/gnulib-lib/wchar.in.h gettext-0.17/gettext-tools/gnulib-lib/wchar.in.h
59 --- gettext-0.17.orig//gettext-tools/gnulib-lib/wchar.in.h 2010-02-17 15:36:21.302471149 +0100
60 +++ gettext-0.17/gettext-tools/gnulib-lib/wchar.in.h 2010-02-17 15:40:10.667180066 +0100
62 * the declaration of wcwidth().
65 +#ifdef __need_mbstate_t
66 +/* Special invocation convention inside glibc header files. */
68 +#@INCLUDE_NEXT@ @NEXT_WCHAR_H@
71 +/* Normal invocation convention. */
75 /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
76 @@ -80,3 +88,4 @@ extern int wcwidth (int /* actually wcha
78 #endif /* _GL_WCHAR_H */
79 #endif /* _GL_WCHAR_H */
81 diff -pruN gettext-0.17.orig//gettext-tools/libgettextpo/wchar.in.h gettext-0.17/gettext-tools/libgettextpo/wchar.in.h
82 --- gettext-0.17.orig//gettext-tools/libgettextpo/wchar.in.h 2010-02-17 15:36:19.870408142 +0100
83 +++ gettext-0.17/gettext-tools/libgettextpo/wchar.in.h 2010-02-17 15:40:48.206658667 +0100
85 * the declaration of wcwidth().
88 +#ifdef __need_mbstate_t
89 +/* Special invocation convention inside glibc header files. */
91 +#@INCLUDE_NEXT@ @NEXT_WCHAR_H@
94 +/* Normal invocation convention. */
98 /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
99 @@ -80,3 +88,4 @@ extern int wcwidth (int /* actually wcha
101 #endif /* _GL_WCHAR_H */
102 #endif /* _GL_WCHAR_H */