mxcl/homebrew — pull request #11378 by 2bits (2012-04-02 06:41:35+00:00)
Title: net-snmp - fix compile error on Lion

net-snmp-5.7.1 is missing a darwin11.h header that can be copied
from the existing darwin10.h, if the 10s are changed to 11s.
Configure also warns that mibII/icmp is required but disabled.

* remove the configure flag --with-out-mib-modules=mibII/icmp
* if lion, cp the darwin10.h to darwin11.h
* patch the darwin11.h to replace the 10s with 11s.

This builds again on Lion without error. The patch has been
reported upstream, and its url is in the formula comments.

This would close #6987