net-snmp - fix compile error on Lion
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.

Closes Homebrew/homebrew#11378.

Signed-off-by: Adam Vandenberg <34c2b6407fd5a10249a15d699d40f9ed1782e98c@gmail.com>

straxhaber/homebrew-core,aren55555/homebrew-core,git-lfs/homebrew-core,stgraber/homebrew-core,sjackman/homebrew-core,bigbes/homebrew-core,ylluminarious/homebrew-core,mbcoguno/homebrew-core,jvehent/homebrew-core,nandub/homebrew-core,forevergenin/homebrew-core,maxim-belkin/homebrew-core,jvillard/homebrew-core,robohack/homebrew-core,wolffaxn/homebrew-core,mvbattista/homebrew-core,jabenninghoff/homebrew-core,lembacon/homebrew-core,bcg62/homebrew-core,jdubois/homebrew-core,Homebrew/homebrew-core,chrisfinazzo/homebrew-core,kunickiaj/homebrew-core,gserra-olx/homebrew-core,jvillard/homebrew-core,filcab/homebrew-core,adam-moss/homebrew-core,tkoenig/homebrew-core,mbcoguno/homebrew-core,jvillard/homebrew-core,phusion/homebrew-core,Moisan/homebrew-core,makigumo/homebrew-core,jabenninghoff/homebrew-core,FinalDes/homebrew-core,aabdnn/homebrew-core,nbari/homebrew-core,zmwangx/homebrew-core,wolffaxn/homebrew-core,wolffaxn/homebrew-core,LinuxbrewTestBot/homebrew-core,battlemidget/homebrew-core,andyjeffries/homebrew-core,FinalDes/homebrew-core,andyjeffries/homebrew-core,adam-moss/homebrew-core,nbari/homebrew-core,stgraber/homebrew-core,mvitz/homebrew-core,ShivaHuang/homebrew-core,aren55555/homebrew-core,lasote/homebrew-core,sdorra/homebrew-core,mahori/homebrew-core,tkoenig/homebrew-core,zyedidia/homebrew-core,nandub/homebrew-core,passerbyid/homebrew-core,dsXLII/homebrew-core,moderndeveloperllc/homebrew-core,filcab/homebrew-core,j-bennet/homebrew-core,straxhaber/homebrew-core,battlemidget/homebrew-core,ylluminarious/homebrew-core,LinuxbrewTestBot/homebrew-core,BrewTestBot/homebrew-core,adamliter/homebrew-core,BrewTestBot/homebrew-core,passerbyid/homebrew-core,bfontaine/homebrew-core,reelsense/homebrew-core,forevergenin/homebrew-core,mahori/homebrew-core,Homebrew/homebrew-core,mfikes/homebrew-core,uyjulian/homebrew-core,DomT4/homebrew-core,j-bennet/homebrew-core,adamliter/homebrew-core,zmwangx/homebrew-core,lemzwerg/homebrew-core,edporras/homebrew-core,bcg62/homebrew-core,smessmer/homebrew-core,bfontaine/homebrew-core,jdubois/homebrew-core,sjackman/homebrew-core,JCount/homebrew-core,moderndeveloperllc/homebrew-core,dsXLII/homebrew-core,uyjulian/homebrew-core,rwhogg/homebrew-core,JCount/homebrew-core,spaam/homebrew-core,fvioz/homebrew-core,kuahyeow/homebrew-core,phusion/homebrew-core,kunickiaj/homebrew-core,jvehent/homebrew-core,aabdnn/homebrew-core,gserra-olx/homebrew-core,reelsense/homebrew-core,Linuxbrew/homebrew-core,grhawk/homebrew-core,mbcoguno/homebrew-core,lembacon/homebrew-core,rwhogg/homebrew-core,mvitz/homebrew-core,cblecker/homebrew-core,zyedidia/homebrew-core,robohack/homebrew-core,Linuxbrew/homebrew-core,lembacon/homebrew-core,lasote/homebrew-core,Moisan/homebrew-core,fvioz/homebrew-core,git-lfs/homebrew-core,ilovezfs/homebrew-core,mfikes/homebrew-core,grhawk/homebrew-core,chrisfinazzo/homebrew-core,bcg62/homebrew-core,maxim-belkin/homebrew-core,DomT4/homebrew-core,spaam/homebrew-core,bigbes/homebrew-core,lemzwerg/homebrew-core,mvitz/homebrew-core,mvbattista/homebrew-core,ilovezfs/homebrew-core,edporras/homebrew-core,ShivaHuang/homebrew-core,sdorra/homebrew-core,makigumo/homebrew-core,jdubois/homebrew-core,cblecker/homebrew-core,smessmer/homebrew-core,kuahyeow/homebrew-core