samueljohn/homebrew-python — pull request #38 by michaelwimmer (2013-08-06 10:18:48+00:00)
Title: Fix for Accelerate problems

The Accelerate framework uses conventions according to the g77 ABI. This implies that fortran functions do return things differntly than modern fortran compilers (especially gfortran) expect. For the Accelerate framework this means that one has to tell the Fortran compiler about this problem. For gfortran this can be done using the flag "-ff2c".

I added this flag to the formula, plus an upstream patch that fixes an ARPACK problem that particularly show on MacOSX.

The solution is probably gfortran specific, but that is probably the most important case anyways. Future versions of scipy will hopefully be agnostic to these problems (https://github.com/scipy/scipy/pull/2695).

On my MacOSX 10.8, scipy tests now complete without failures.