components/ilmbase/patches/000-ltmain.patch
author Stefan Teleman <stefan.teleman@oracle.com>
Wed, 23 Mar 2011 14:35:32 -0700
changeset 147 5af6875cbf70
child 7696 3d9ec1a1fe4e
permissions -rw-r--r--
7008450 CVE-2009-1720 CVE-2009-1721 upgrade openexr 7027802 Ilmbase and OpenEXR should move to Userland

*** ilmbase-1.0.1/ltmain.sh.org	Thu Jun 26 19:20:21 2008
--- ltmain.sh	Thu Jun 26 19:18:49 2008
***************
*** 1553,1561 ****
  	esac
          compile_command="$compile_command $arg"
          finalize_command="$finalize_command $arg"
!         if test "$with_gcc" = "yes" ; then
            compiler_flags="$compiler_flags $arg"
!         fi
          continue
          ;;
  
--- 1553,1562 ----
  	esac
          compile_command="$compile_command $arg"
          finalize_command="$finalize_command $arg"
!         # comment out this to support 64bit for CC
!         #if test "$with_gcc" = "yes" ; then
            compiler_flags="$compiler_flags $arg"
!         #fi
          continue
          ;;
  
***************
*** 4015,4021 ****
  	save_ifs="$IFS"; IFS='~'
  	for cmd in $cmds; do
  	  IFS="$save_ifs"
! 	  eval cmd=\"$cmd\"
  	  $show "$cmd"
  	  $run eval "$cmd" || exit $?
  	done
--- 4016,4023 ----
  	save_ifs="$IFS"; IFS='~'
  	for cmd in $cmds; do
  	  IFS="$save_ifs"
!           # Append the command to remove runpath for CC.
! 	  eval cmd=\"$cmd -norunpath\"
  	  $show "$cmd"
  	  $run eval "$cmd" || exit $?
  	done