OpenSDE Packages Database (without history before r20070)
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

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../gettext/wchar-fix.patch
  5. # Copyright (C) 2008 The OpenSDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  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
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. diff -Nur gettext-0.17-orig/gettext-runtime/gnulib-lib/wchar.in.h gettext-0.17/gettext-runtime/gnulib-lib/wchar.in.h
  17. --- gettext-0.17-orig/gettext-runtime/gnulib-lib/wchar.in.h 2008-04-10 18:18:04.000000000 +0000
  18. +++ gettext-0.17/gettext-runtime/gnulib-lib/wchar.in.h 2008-04-10 18:19:04.000000000 +0000
  19. @@ -26,6 +26,14 @@
  20. * the declaration of wcwidth().
  21. */
  22. +#ifdef __need_mbstate_t
  23. +/* Special invocation convention inside glibc header files. */
  24. +
  25. +#@INCLUDE_NEXT@ @NEXT_WCHAR_H@
  26. +
  27. +#else
  28. +/* Normal invocation convention. */
  29. +
  30. #ifndef _GL_WCHAR_H
  31. /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
  32. @@ -80,3 +88,4 @@
  33. #endif /* _GL_WCHAR_H */
  34. #endif /* _GL_WCHAR_H */
  35. +#endif
  36. diff -Nur gettext-0.17-orig/gettext-tools/gnulib-lib/wchar.in.h gettext-0.17/gettext-tools/gnulib-lib/wchar.in.h
  37. --- gettext-0.17-orig/gettext-tools/gnulib-lib/wchar.in.h 2008-04-11 17:03:22.000000000 +0000
  38. +++ gettext-0.17/gettext-tools/gnulib-lib/wchar.in.h 2008-04-11 17:49:45.000000000 +0000
  39. @@ -26,6 +26,14 @@
  40. * the declaration of wcwidth().
  41. */
  42. +#ifdef __need_mbstate_t
  43. +/* Special invocation convention inside glibc header files. */
  44. +
  45. +#@INCLUDE_NEXT@ @NEXT_WCHAR_H@
  46. +
  47. +#else
  48. +/* Normal invocation convention. */
  49. +
  50. #ifndef _GL_WCHAR_H
  51. /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
  52. @@ -80,3 +88,4 @@
  53. #endif /* _GL_WCHAR_H */
  54. #endif /* _GL_WCHAR_H */
  55. +#endif
  56. diff -Nur gettext-0.17-orig/gettext-tools/libgettextpo/wchar.in.h gettext-0.17/gettext-tools/libgettextpo/wchar.in.h
  57. --- gettext-0.17-orig/gettext-tools/libgettextpo/wchar.in.h 2008-04-11 17:03:22.000000000 +0000
  58. +++ gettext-0.17/gettext-tools/libgettextpo/wchar.in.h 2008-04-11 18:14:51.000000000 +0000
  59. @@ -26,6 +26,14 @@
  60. * the declaration of wcwidth().
  61. */
  62. +#ifdef __need_mbstate_t
  63. +/* Special invocation convention inside glibc header files. */
  64. +
  65. +#@INCLUDE_NEXT@ @NEXT_WCHAR_H@
  66. +
  67. +#else
  68. +/* Normal invocation convention. */
  69. +
  70. #ifndef _GL_WCHAR_H
  71. /* Tru64 with Desktop Toolkit C has a bug: <stdio.h> must be included before
  72. @@ -80,3 +88,4 @@
  73. #endif /* _GL_WCHAR_H */
  74. #endif /* _GL_WCHAR_H */
  75. +#endif