mxcl/homebrew — pull request #12825 by 2bits (2012-06-14 03:06:21+00:00)
Title: mldonkey: fix compile errors w/cpp and sed

Mldonkey-3.1.1 has compile errors due to some changes in arguments
to the cpp command and because Apple gnu-sed do not have a `-o`
option. The formula also has a failing inreplace.

Fix the failing inreplace by changing `-O6` to `-O3`.
Add a patch that uses the suggested change to cpp.
Add a patch that changes `sed -o` to `sed >`.
Note in the comments the bug reports and how the patches are
not upstream as of 13 JUN 2012. According to the Homebrew issue
listed below, the user reports these patches work well.

Fixes #12774