Brew removing problem packages
In my last post I edited the opencv formula so I could get 2.4.8 before it was supported by brew. Now that they finally added 2.4.9 it was a pain to get it to forget my changes and just overwrite them.
error: Your local changes to the following files would be overwritten by merge:
This didn’t help so if you made any changes and brew finally gets the new version in my case for opencv the only thing that worked was
brew untap homebrew/science brew update brew tap homebrew/science
I hope this helps!