You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
86 lines
2.8 KiB
86 lines
2.8 KiB
# --- SDE-COPYRIGHT-NOTE-BEGIN --- |
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch. |
|
# |
|
# Filename: package/.../gettext/wchar-fix.patch |
|
# Copyright (C) 2008 The OpenSDE Project |
|
# |
|
# More information can be found in the files COPYING and README. |
|
# |
|
# This patch file is dual-licensed. It is available under the license the |
|
# patched project is licensed under, as long as it is an OpenSource license |
|
# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms |
|
# of the GNU General Public License as published by the Free Software |
|
# Foundation; either version 2 of the License, or (at your option) any later |
|
# version. |
|
# --- SDE-COPYRIGHT-NOTE-END --- |
|
|
|
diff -Nur gettext-0.17-orig/gettext-runtime/gnulib-lib/wchar.in.h gettext-0.17/gettext-runtime/gnulib-lib/wchar.in.h |
|
--- gettext-0.17-orig/gettext-runtime/gnulib-lib/wchar.in.h 2008-04-10 18:18:04.000000000 +0000 |
|
+++ gettext-0.17/gettext-runtime/gnulib-lib/wchar.in.h 2008-04-10 18:19:04.000000000 +0000 |
|
@@ -26,6 +26,14 @@ |
|
* the declaration of wcwidth(). |
|
*/ |
|
|
|
+#ifdef __need_mbstate_t |
|
+/* Special invocation convention inside glibc header files. */ |
|
+ |
|
+#@INCLUDE_NEXT@ @NEXT_WCHAR_H@ |
|
+ |
|
+#else |
|
+/* Normal invocation convention. */ |
|
+ |
|
#ifndef _GL_WCHAR_H |
|
|
|
/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before |
|
@@ -80,3 +88,4 @@ |
|
|
|
#endif /* _GL_WCHAR_H */ |
|
#endif /* _GL_WCHAR_H */ |
|
+#endif |
|
diff -Nur gettext-0.17-orig/gettext-tools/gnulib-lib/wchar.in.h gettext-0.17/gettext-tools/gnulib-lib/wchar.in.h |
|
--- gettext-0.17-orig/gettext-tools/gnulib-lib/wchar.in.h 2008-04-11 17:03:22.000000000 +0000 |
|
+++ gettext-0.17/gettext-tools/gnulib-lib/wchar.in.h 2008-04-11 17:49:45.000000000 +0000 |
|
@@ -26,6 +26,14 @@ |
|
* the declaration of wcwidth(). |
|
*/ |
|
|
|
+#ifdef __need_mbstate_t |
|
+/* Special invocation convention inside glibc header files. */ |
|
+ |
|
+#@INCLUDE_NEXT@ @NEXT_WCHAR_H@ |
|
+ |
|
+#else |
|
+/* Normal invocation convention. */ |
|
+ |
|
#ifndef _GL_WCHAR_H |
|
|
|
/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before |
|
@@ -80,3 +88,4 @@ |
|
|
|
#endif /* _GL_WCHAR_H */ |
|
#endif /* _GL_WCHAR_H */ |
|
+#endif |
|
diff -Nur gettext-0.17-orig/gettext-tools/libgettextpo/wchar.in.h gettext-0.17/gettext-tools/libgettextpo/wchar.in.h |
|
--- gettext-0.17-orig/gettext-tools/libgettextpo/wchar.in.h 2008-04-11 17:03:22.000000000 +0000 |
|
+++ gettext-0.17/gettext-tools/libgettextpo/wchar.in.h 2008-04-11 18:14:51.000000000 +0000 |
|
@@ -26,6 +26,14 @@ |
|
* the declaration of wcwidth(). |
|
*/ |
|
|
|
+#ifdef __need_mbstate_t |
|
+/* Special invocation convention inside glibc header files. */ |
|
+ |
|
+#@INCLUDE_NEXT@ @NEXT_WCHAR_H@ |
|
+ |
|
+#else |
|
+/* Normal invocation convention. */ |
|
+ |
|
#ifndef _GL_WCHAR_H |
|
|
|
/* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before |
|
@@ -80,3 +88,4 @@ |
|
|
|
#endif /* _GL_WCHAR_H */ |
|
#endif /* _GL_WCHAR_H */ |
|
+#endif |
|
|
|
|