The fix for Bug 524612 failed in src_install building openblas from git. The fix is to move applying the patch to src_compile after building the library, then remove config.h and config_last.h; make config.h - ignoring the spurious warning; then cp config.h to config_last.h.