Tomas Janousek 4fb0991
			     BASH PATCH REPORT
Tomas Janousek 4fb0991
			     =================
Tomas Janousek 4fb0991
Tomas Janousek 4fb0991
Bash-Release: 3.2
Tomas Janousek 4fb0991
Patch-ID: bash32-026
Tomas Janousek 4fb0991
Tomas Janousek 4fb0991
Bug-Reported-by:	Chet Ramey <chet.ramey@case.edu>
Tomas Janousek 4fb0991
Bug-Reference-ID:
Tomas Janousek 4fb0991
Bug-Reference-URL:
Tomas Janousek 4fb0991
Tomas Janousek 4fb0991
Bug-Description:
Tomas Janousek 4fb0991
Tomas Janousek 4fb0991
This keeps the Apple linker from attempting to link bash against Apple's
Tomas Janousek 4fb0991
readline library "replacement" rather than the one shipped with bash.  It
Tomas Janousek 4fb0991
extends the configure workaround to Mac OS X Leopard (10.5).
Tomas Janousek 4fb0991
Tomas Janousek 4fb0991
As a side effect, the patch updates the copyright date displayed in the
Tomas Janousek 4fb0991
version string.
Tomas Janousek 4fb0991
Tomas Janousek 4fb0991
You must re-run configure after applying the patch, and before rebuilding
Tomas Janousek 4fb0991
bash.
Tomas Janousek 4fb0991
Tomas Janousek 4fb0991
Patch:
Tomas Janousek 4fb0991
Tomas Janousek 4fb0991
*** ../bash-3.2-patched/configure.in	2007-03-06 11:07:38.000000000 -0500
Tomas Janousek 4fb0991
--- configure.in	2007-11-23 15:37:41.000000000 -0500
Tomas Janousek 4fb0991
***************
Tomas Janousek 4fb0991
*** 519,523 ****
Tomas Janousek 4fb0991
  		# dynamic version
Tomas Janousek 4fb0991
  		case "${host_os}" in
Tomas Janousek 4fb0991
! 		darwin8*)	READLINE_LIB='${READLINE_LIBRARY}' ;;
Tomas Janousek 4fb0991
  		*)		READLINE_LIB=-lreadline ;;
Tomas Janousek 4fb0991
  		esac
Tomas Janousek 4fb0991
--- 519,523 ----
Tomas Janousek 4fb0991
  		# dynamic version
Tomas Janousek 4fb0991
  		case "${host_os}" in
Tomas Janousek 4fb0991
! 		darwin[[89]]*)	READLINE_LIB='${READLINE_LIBRARY}' ;;
Tomas Janousek 4fb0991
  		*)		READLINE_LIB=-lreadline ;;
Tomas Janousek 4fb0991
  		esac
Tomas Janousek 4fb0991
*** ../bash-3.2-patched/configure	2007-03-24 14:51:22.000000000 -0400
Tomas Janousek 4fb0991
--- configure	2007-11-23 15:46:15.000000000 -0500
Tomas Janousek 4fb0991
***************
Tomas Janousek 4fb0991
*** 4872,4876 ****
Tomas Janousek 4fb0991
  		# dynamic version
Tomas Janousek 4fb0991
  		case "${host_os}" in
Tomas Janousek 4fb0991
! 		darwin8*)	READLINE_LIB='${READLINE_LIBRARY}' ;;
Tomas Janousek 4fb0991
  		*)		READLINE_LIB=-lreadline ;;
Tomas Janousek 4fb0991
  		esac
Tomas Janousek 4fb0991
--- 4872,4876 ----
Tomas Janousek 4fb0991
  		# dynamic version
Tomas Janousek 4fb0991
  		case "${host_os}" in
Tomas Janousek 4fb0991
! 		darwin[89]*)	READLINE_LIB='${READLINE_LIBRARY}' ;;
Tomas Janousek 4fb0991
  		*)		READLINE_LIB=-lreadline ;;
Tomas Janousek 4fb0991
  		esac
Tomas Janousek 4fb0991
*** ../bash-3.2-patched/version.c	2005-05-16 11:58:34.000000000 -0400
Tomas Janousek 4fb0991
--- version.c	2007-11-23 16:03:40.000000000 -0500
Tomas Janousek 4fb0991
***************
Tomas Janousek 4fb0991
*** 80,83 ****
Tomas Janousek 4fb0991
    printf ("GNU bash, version %s (%s)\n", shell_version_string (), MACHTYPE);
Tomas Janousek 4fb0991
    if (extended)
Tomas Janousek 4fb0991
!     printf (_("Copyright (C) 2005 Free Software Foundation, Inc.\n"));
Tomas Janousek 4fb0991
  }
Tomas Janousek 4fb0991
--- 80,83 ----
Tomas Janousek 4fb0991
    printf ("GNU bash, version %s (%s)\n", shell_version_string (), MACHTYPE);
Tomas Janousek 4fb0991
    if (extended)
Tomas Janousek 4fb0991
!     printf (_("Copyright (C) 2007 Free Software Foundation, Inc.\n"));
Tomas Janousek 4fb0991
  }
Tomas Janousek 4fb0991
*** ../bash-3.2/patchlevel.h	Thu Apr 13 08:31:04 2006
Tomas Janousek 4fb0991
--- patchlevel.h	Mon Oct 16 14:22:54 2006
Tomas Janousek 4fb0991
***************
Tomas Janousek 4fb0991
*** 26,30 ****
Tomas Janousek 4fb0991
     looks for to find the patch level (for the sccs version string). */
Tomas Janousek 4fb0991
  
Tomas Janousek 4fb0991
! #define PATCHLEVEL 25
Tomas Janousek 4fb0991
  
Tomas Janousek 4fb0991
  #endif /* _PATCHLEVEL_H_ */
Tomas Janousek 4fb0991
--- 26,30 ----
Tomas Janousek 4fb0991
     looks for to find the patch level (for the sccs version string). */
Tomas Janousek 4fb0991
  
Tomas Janousek 4fb0991
! #define PATCHLEVEL 26
Tomas Janousek 4fb0991
  
Tomas Janousek 4fb0991
  #endif /* _PATCHLEVEL_H_ */