Tomas Janousek 5a0cfd
			     BASH PATCH REPORT
Tomas Janousek 5a0cfd
			     =================
Tomas Janousek 5a0cfd
Tomas Janousek 5a0cfd
Bash-Release: 3.2
Tomas Janousek 5a0cfd
Patch-ID: bash32-012
Tomas Janousek 5a0cfd
Tomas Janousek 5a0cfd
Bug-Reported-by: John Wyman <JohnWyman@celink.com>
Tomas Janousek 5a0cfd
Bug-Reference-ID: <5E7DEFC094C35044B87FAE761D9F0EE20143A3B7@exchange2k.celink.com>
Tomas Janousek 5a0cfd
Bug-Reference-URL: 
Tomas Janousek 5a0cfd
Tomas Janousek 5a0cfd
Bug-Description:
Tomas Janousek 5a0cfd
Tomas Janousek 5a0cfd
Some systems (AIX 4.x) don't implement the PRI_xxx macros correctly,
Tomas Janousek 5a0cfd
causing syntax errors when attempting to compile bash on those systems.
Tomas Janousek 5a0cfd
This patch adds support for the PRI_MACROS_BROKEN define.
Tomas Janousek 5a0cfd
Tomas Janousek 5a0cfd
You will need to re-run `configure' after applying the patch.  Run
Tomas Janousek 5a0cfd
`touch configure' so make doesn't try to run autoconf.
Tomas Janousek 5a0cfd
Tomas Janousek 5a0cfd
Patch:
Tomas Janousek 5a0cfd
Tomas Janousek 5a0cfd
*** ../bash-3.2.11/config.h.in	Tue Sep 12 16:00:54 2006
Tomas Janousek 5a0cfd
--- config.h.in	Tue Mar  6 11:17:55 2007
Tomas Janousek 5a0cfd
***************
Tomas Janousek 5a0cfd
*** 1,5 ****
Tomas Janousek 5a0cfd
  /* config.h -- Configuration file for bash. */
Tomas Janousek 5a0cfd
  
Tomas Janousek 5a0cfd
! /* Copyright (C) 1987-2006 Free Software Foundation, Inc.
Tomas Janousek 5a0cfd
  
Tomas Janousek 5a0cfd
     This file is part of GNU Bash, the Bourne Again SHell.
Tomas Janousek 5a0cfd
--- 1,5 ----
Tomas Janousek 5a0cfd
  /* config.h -- Configuration file for bash. */
Tomas Janousek 5a0cfd
  
Tomas Janousek 5a0cfd
! /* Copyright (C) 1987-2007 Free Software Foundation, Inc.
Tomas Janousek 5a0cfd
  
Tomas Janousek 5a0cfd
     This file is part of GNU Bash, the Bourne Again SHell.
Tomas Janousek 5a0cfd
***************
Tomas Janousek 5a0cfd
*** 414,417 ****
Tomas Janousek 5a0cfd
--- 414,419 ----
Tomas Janousek 5a0cfd
  #undef HAVE_DECL_STRTOLD
Tomas Janousek 5a0cfd
  
Tomas Janousek 5a0cfd
+ #undef PRI_MACROS_BROKEN
Tomas Janousek 5a0cfd
+ 
Tomas Janousek 5a0cfd
  #undef STRTOLD_BROKEN
Tomas Janousek 5a0cfd
  
Tomas Janousek 5a0cfd
***************
Tomas Janousek 5a0cfd
*** 1007,1010 ****
Tomas Janousek 5a0cfd
--- 1009,1015 ----
Tomas Janousek 5a0cfd
  #undef HAVE_DCGETTEXT
Tomas Janousek 5a0cfd
  
Tomas Janousek 5a0cfd
+ /* Define if you have the `localeconv' function. */
Tomas Janousek 5a0cfd
+ #undef HAVE_LOCALECONV
Tomas Janousek 5a0cfd
+ 
Tomas Janousek 5a0cfd
  /* Define if your system has a working `malloc' function. */
Tomas Janousek 5a0cfd
  /* #undef HAVE_MALLOC */
Tomas Janousek 5a0cfd
*** ../bash-3.2.11/builtins/printf.def	Mon Nov 13 08:58:52 2006
Tomas Janousek 5a0cfd
--- builtins/printf.def	Sun Feb  4 13:58:59 2007
Tomas Janousek 5a0cfd
***************
Tomas Janousek 5a0cfd
*** 2,6 ****
Tomas Janousek 5a0cfd
  It implements the builtin "printf" in Bash.
Tomas Janousek 5a0cfd
  
Tomas Janousek 5a0cfd
! Copyright (C) 1997-2005 Free Software Foundation, Inc.
Tomas Janousek 5a0cfd
  
Tomas Janousek 5a0cfd
  This file is part of GNU Bash, the Bourne Again SHell.
Tomas Janousek 5a0cfd
--- 2,6 ----
Tomas Janousek 5a0cfd
  It implements the builtin "printf" in Bash.
Tomas Janousek 5a0cfd
  
Tomas Janousek 5a0cfd
! Copyright (C) 1997-2007 Free Software Foundation, Inc.
Tomas Janousek 5a0cfd
  
Tomas Janousek 5a0cfd
  This file is part of GNU Bash, the Bourne Again SHell.
Tomas Janousek 5a0cfd
***************
Tomas Janousek 5a0cfd
*** 71,74 ****
Tomas Janousek 5a0cfd
--- 71,78 ----
Tomas Janousek 5a0cfd
  #include "common.h"
Tomas Janousek 5a0cfd
  
Tomas Janousek 5a0cfd
+ #if defined (PRI_MACROS_BROKEN)
Tomas Janousek 5a0cfd
+ #  undef PRIdMAX
Tomas Janousek 5a0cfd
+ #endif
Tomas Janousek 5a0cfd
+ 
Tomas Janousek 5a0cfd
  #if !defined (PRIdMAX)
Tomas Janousek 5a0cfd
  #  if HAVE_LONG_LONG
Tomas Janousek 5a0cfd
*** ../bash-3.2/patchlevel.h	Thu Apr 13 08:31:04 2006
Tomas Janousek 5a0cfd
--- patchlevel.h	Mon Oct 16 14:22:54 2006
Tomas Janousek 5a0cfd
***************
Tomas Janousek 5a0cfd
*** 26,30 ****
Tomas Janousek 5a0cfd
     looks for to find the patch level (for the sccs version string). */
Tomas Janousek 5a0cfd
  
Tomas Janousek 5a0cfd
! #define PATCHLEVEL 11
Tomas Janousek 5a0cfd
  
Tomas Janousek 5a0cfd
  #endif /* _PATCHLEVEL_H_ */
Tomas Janousek 5a0cfd
--- 26,30 ----
Tomas Janousek 5a0cfd
     looks for to find the patch level (for the sccs version string). */
Tomas Janousek 5a0cfd
  
Tomas Janousek 5a0cfd
! #define PATCHLEVEL 12
Tomas Janousek 5a0cfd
  
Tomas Janousek 5a0cfd
  #endif /* _PATCHLEVEL_H_ */