--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/components/mpfr/patches/001-configure.patch Mon May 09 11:36:28 2011 -0700
@@ -0,0 +1,126 @@
+--- configure 2009-11-29 18:44:35.000000000 -0800
++++ configure 2010-11-15 09:25:24.925199110 -0800
+@@ -1,4 +1,4 @@
+-#! /bin/sh
++#! /bin/bash
+ # Guess values for system-dependent variables and create Makefiles.
+ # Generated by GNU Autoconf 2.64 for MPFR 2.4.2.
+ #
+@@ -257,7 +257,7 @@
+ fi
+ fi
+ fi
+-SHELL=${CONFIG_SHELL-/bin/sh}
++SHELL=${CONFIG_SHELL-/bin/bash}
+ export SHELL
+ # Unset more variables known to interfere with behavior of common tools.
+ CLICOLOR_FORCE= GREP_OPTIONS=
+@@ -548,7 +548,7 @@
+
+
+ # Check that we are running under the correct shell.
+-SHELL=${CONFIG_SHELL-/bin/sh}
++SHELL=${CONFIG_SHELL-/bin/bash}
+
+ case X$lt_ECHO in
+ X*--fallback-echo)
+@@ -632,7 +632,7 @@
+ elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
+ test "X$CONFIG_SHELL" != X/bin/ksh; then
+ # If we have ksh, try running configure again with it.
+- ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
++ ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/bash}
+ export ORIGINAL_CONFIG_SHELL
+ CONFIG_SHELL=/bin/ksh
+ export CONFIG_SHELL
+@@ -674,7 +674,7 @@
+ if test "$prev" != 'sed 50q "$0"'; then
+ echo_test_string=`eval $prev`
+ export echo_test_string
+- exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
++ exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/bash}} "$0" ${1+"$@"}
+ else
+ # Oops. We lost completely, so just stick with echo.
+ ECHO=echo
+@@ -3236,7 +3236,7 @@
+ $as_echo_n "(cached) " >&6
+ else
+ cat >conftest.make <<\_ACEOF
+-SHELL = /bin/sh
++SHELL = /bin/bash
+ all:
+ @echo '@@@%%%=$(MAKE)=@@@%%%'
+ _ACEOF
+@@ -4694,7 +4694,7 @@
+ for i in 1 2 3 4 5 6; do
+ echo '#include "conftst'$i'.h"' >> sub/conftest.c
+ # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
+- # Solaris 8's {/usr,}/bin/sh.
++ # Solaris 8's {/usr,}/bin/bash.
+ touch sub/conftst$i.h
+ done
+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
+@@ -7109,7 +7109,7 @@
+ for i in 1 2 3 4 5 6; do
+ echo '#include "conftst'$i'.h"' >> sub/conftest.c
+ # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
+- # Solaris 8's {/usr,}/bin/sh.
++ # Solaris 8's {/usr,}/bin/bash.
+ touch sub/conftst$i.h
+ done
+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
+@@ -8530,7 +8530,7 @@
+ for i in 1 2 3 4 5 6 7 8 ; do
+ teststring=$teststring$teststring
+ done
+- SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
++ SHELL=${SHELL-${CONFIG_SHELL-/bin/bash}}
+ # If test is not a shell built-in, we'll probably end up computing a
+ # maximum length that is only half of the actual maximum length, but
+ # we can't tell.
+@@ -10681,7 +10681,7 @@
+ for i in 1 2 3 4 5 6; do
+ echo '#include "conftst'$i'.h"' >> sub/conftest.c
+ # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
+- # Solaris 8's {/usr,}/bin/sh.
++ # Solaris 8's {/usr,}/bin/bash.
+ touch sub/conftst$i.h
+ done
+ echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
+@@ -20162,11 +20162,17 @@
+ else
+ cat confdefs.h - <<_ACEOF >conftest.$ac_ext
+ /* end confdefs.h. */
++#if defined(__SUNPRO_C) || defined(__SUNPRO_CC)
++#error "No attribute support for Sun compilers."
++#else
+ typedef int SItype __attribute__ ((mode (SI)));
++#endif
+ int
+ main ()
+ {
+-
++#if defined(__SUNPRO_C) || defined(__SUNPRO_CC)
++#error "No attribute support for Sun compilers."
++endif
+ ;
+ return 0;
+ }
+@@ -22826,7 +22832,7 @@
+
+
+ # The linker used to build libraries.
+-LD=$lt_LD
++LD="$LTCC $LTCFLAGS $LDFLAGS"
+
+ # Commands used to build an old-style archive.
+ old_archive_cmds=$lt_old_archive_cmds
+@@ -23211,7 +23217,7 @@
+ # ### BEGIN LIBTOOL TAG CONFIG: CXX
+
+ # The linker used to build libraries.
+-LD=$lt_LD_CXX
++LD="$CC $CXXFLAGS $LDFLAGS"
+
+ # Commands used to build an old-style archive.
+ old_archive_cmds=$lt_old_archive_cmds_CXX