bash32-012 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. BASH PATCH REPORT
  2. =================
  3. Bash-Release: 3.2
  4. Patch-ID: bash32-012
  5. Bug-Reported-by: John Wyman <JohnWyman@celink.com>
  6. Bug-Reference-ID: <5E7DEFC094C35044B87FAE761D9F0EE20143A3B7@exchange2k.celink.com>
  7. Bug-Reference-URL:
  8. Bug-Description:
  9. Some systems (AIX 4.x) don't implement the PRI_xxx macros correctly,
  10. causing syntax errors when attempting to compile bash on those systems.
  11. This patch adds support for the PRI_MACROS_BROKEN define.
  12. You will need to re-run `configure' after applying the patch. Run
  13. `touch configure' so make doesn't try to run autoconf.
  14. Patch:
  15. *** ../bash-3.2.11/config.h.in Tue Sep 12 16:00:54 2006
  16. --- bash-3.2/config.h.in Tue Mar 6 11:17:55 2007
  17. ***************
  18. *** 1,5 ****
  19. /* config.h -- Configuration file for bash. */
  20. ! /* Copyright (C) 1987-2006 Free Software Foundation, Inc.
  21. This file is part of GNU Bash, the Bourne Again SHell.
  22. --- 1,5 ----
  23. /* config.h -- Configuration file for bash. */
  24. ! /* Copyright (C) 1987-2007 Free Software Foundation, Inc.
  25. This file is part of GNU Bash, the Bourne Again SHell.
  26. ***************
  27. *** 414,417 ****
  28. --- 414,419 ----
  29. #undef HAVE_DECL_STRTOLD
  30. + #undef PRI_MACROS_BROKEN
  31. +
  32. #undef STRTOLD_BROKEN
  33. ***************
  34. *** 1007,1010 ****
  35. --- 1009,1015 ----
  36. #undef HAVE_DCGETTEXT
  37. + /* Define if you have the `localeconv' function. */
  38. + #undef HAVE_LOCALECONV
  39. +
  40. /* Define if your system has a working `malloc' function. */
  41. /* #undef HAVE_MALLOC */
  42. *** ../bash-3.2.11/builtins/printf.def Mon Nov 13 08:58:52 2006
  43. --- bash-3.2/builtins/printf.def Sun Feb 4 13:58:59 2007
  44. ***************
  45. *** 2,6 ****
  46. It implements the builtin "printf" in Bash.
  47. ! Copyright (C) 1997-2005 Free Software Foundation, Inc.
  48. This file is part of GNU Bash, the Bourne Again SHell.
  49. --- 2,6 ----
  50. It implements the builtin "printf" in Bash.
  51. ! Copyright (C) 1997-2007 Free Software Foundation, Inc.
  52. This file is part of GNU Bash, the Bourne Again SHell.
  53. ***************
  54. *** 71,74 ****
  55. --- 71,78 ----
  56. #include "common.h"
  57. + #if defined (PRI_MACROS_BROKEN)
  58. + # undef PRIdMAX
  59. + #endif
  60. +
  61. #if !defined (PRIdMAX)
  62. # if HAVE_LONG_LONG
  63. *** ../bash-3.2/patchlevel.h Thu Apr 13 08:31:04 2006
  64. --- bash-3.2/patchlevel.h Mon Oct 16 14:22:54 2006
  65. ***************
  66. *** 26,30 ****
  67. looks for to find the patch level (for the sccs version string). */
  68. ! #define PATCHLEVEL 11
  69. #endif /* _PATCHLEVEL_H_ */
  70. --- 26,30 ----
  71. looks for to find the patch level (for the sccs version string). */
  72. ! #define PATCHLEVEL 12
  73. #endif /* _PATCHLEVEL_H_ */