07a490
			     BASH PATCH REPORT
07a490
			     =================
07a490
07a490
Bash-Release:	4.2
07a490
Patch-ID:	bash42-020
07a490
07a490
Bug-Reported-by:	Vincent Sheffer <vince.sheffer@apisphere.com>
07a490
Bug-Reference-ID:	<F13C1C4F-C44C-4071-BFED-4BB6D13CF92F@apisphere.com>
07a490
Bug-Reference-URL:	https://lists.gnu.org/archive/html/bug-readline/2011-08/msg00000.html
07a490
07a490
Bug-Description:
07a490
07a490
The shared object helper script needs to be updated for Mac OS X 10.7
07a490
(Lion, darwin11).
07a490
07a490
Patch (apply with `patch -p0'):
07a490
07a490
*** ../bash-4.2-patched/support/shobj-conf	2009-10-28 09:20:21.000000000 -0400
07a490
--- support/shobj-conf	2011-08-27 13:25:23.000000000 -0400
07a490
***************
07a490
*** 158,162 ****
07a490
  
07a490
  # Darwin/MacOS X
07a490
! darwin[89]*|darwin10*)
07a490
  	SHOBJ_STATUS=supported
07a490
  	SHLIB_STATUS=supported
07a490
--- 172,176 ----
07a490
  
07a490
  # Darwin/MacOS X
07a490
! darwin[89]*|darwin1[012]*)
07a490
  	SHOBJ_STATUS=supported
07a490
  	SHLIB_STATUS=supported
07a490
***************
07a490
*** 187,191 ****
07a490
  
07a490
  	case "${host_os}" in
07a490
! 	darwin[789]*|darwin10*)	SHOBJ_LDFLAGS=''
07a490
  			SHLIB_XLDFLAGS='-dynamiclib -arch_only `/usr/bin/arch` -install_name $(libdir)/$@ -current_version $(SHLIB_MAJOR)$(SHLIB_MINOR) -compatibility_version $(SHLIB_MAJOR) -v'
07a490
  			;;
07a490
--- 201,205 ----
07a490
  
07a490
  	case "${host_os}" in
07a490
! 	darwin[789]*|darwin1[012]*)	SHOBJ_LDFLAGS=''
07a490
  			SHLIB_XLDFLAGS='-dynamiclib -arch_only `/usr/bin/arch` -install_name $(libdir)/$@ -current_version $(SHLIB_MAJOR)$(SHLIB_MINOR) -compatibility_version $(SHLIB_MAJOR) -v'
07a490
  			;;
07a490
*** ../bash-4.2-patched/patchlevel.h	Sat Jun 12 20:14:48 2010
07a490
--- patchlevel.h	Thu Feb 24 21:41:34 2011
07a490
***************
07a490
*** 26,30 ****
07a490
     looks for to find the patch level (for the sccs version string). */
07a490
  
07a490
! #define PATCHLEVEL 19
07a490
  
07a490
  #endif /* _PATCHLEVEL_H_ */
07a490
--- 26,30 ----
07a490
     looks for to find the patch level (for the sccs version string). */
07a490
  
07a490
! #define PATCHLEVEL 20
07a490
  
07a490
  #endif /* _PATCHLEVEL_H_ */