[Bug target/61407] Build errors on latest OS X 10.10 Yosemite with Xcode 6 on GCC 4.8.3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61407 Alexander Bock changed: What|Removed |Added CC||alexandermbock at gmail dot com --- Comment #17 from Alexander Bock --- (In reply to James Clarke from comment #16) > Created attachment 33180 [details] > Patch For GCC 4.9.1 On Yosemite > > Requires DP 4 (or above), as I have also removed the fix for Availability.h > which was only needed in DP 3 and below. Worked great for me on DP4, thanks!
[Bug target/61407] Build errors on latest OS X 10.10 Yosemite with Xcode 6 on GCC 4.8.3
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=61407 --- Comment #19 from Alexander Bock --- (In reply to aggrostyle from comment #18) > Guys, a question... how can i apply the patch? I've read that i have to add: > > patch do > url "https://gcc.gnu.org/bugzilla/attachment.cgi?id=33180"; > sha1 "def0cb036a255175db86f106e2bb9dd66d19b702" > end > > But i don't know WHERE to add that in the formula when i use brew edit gcc... > > Any help? Thanks! Running this command while in the gcc source directory patch -p1 < patchfile where patchfile is the name you saved Clarke's attachment with is a quick way to apply it; I'm not sure about homebrew specifics as I was building from source manually.