svashisht / rpms / bash

Forked from rpms/bash 4 years ago
Clone

Blame SOURCES/bash42-020

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